#perl - Wed 7 Mar 2007 between 03:15 and 03:27



memeticGood morning, merlyn. n.n
merlynthat's the one I'm thinking of
"marathon john"
simcop2387-tvmerlyn, who wants a bar made of corrugated chocolate?
eibwenI can accept that print in void context probably prints to void context readily enough -- but why doesn't it actually loop? { while(print('foo'), <STDIN>) { print 'bar', $/ } } never prints bar -- which AFAIK, should go to the screen... unless it's getting stuck iterating over the <STDIN> and skipping the block...
merlyn... http://www.victoryseeds.com/candystore/confectioners/news/news_marathon_bar.htm
shortenmerlyn's url is at http://xrl.us/u7t9
overriderwhen getting output from a database into a console program, is there a way i can somewhat "format" its ouput, eg, put some | around the fields so its a little bit more visual, and make the fields all the same space so it looks like an aligned list?
scrottieoverrider: yes, all of that is possible.
overrider: it's even easy, if you know a little perl.
simcop2387-tvGumbyBRAIN, mouthwash
GumbyBRAINPudge, http://rafb.net/paste or http://www.cpan.org/public/bug/display.html?id=22001 ?
scrottieoverride: have you now decided to join the club?
Aankhen``overrider: Text::Table?
Text::TabularDisplay?
simcop2387-tvText::SuperDuperTabularDisplay
Aankhen``Text::PsychedelicDisplay
actionCPAN upload: Genezzo-0.69 (+++++) by JCOHEN
CPANupload: Genezzo-0.69 (+++++) by JCOHEN
misc--I feel like I have solved the davinci code... amaaazing, I can finally login to my ISP's website to grab the site that uses dynamic realms! It's a miracle. I just had to express my emotions sorry
s/site/stats/
simcop2387-tvmisc--, are you using WWW::Mech?
misc--no I am using just plain old LWP::UserAgent
simcop2387-tvah
misc--but I created a sub class that overrides the get_basic_credentials and returned the credentials that way, worked like a treat
simcop2387-tvcool
misc--am so happy! Thought I would never get it
eibwenIf I change the conditional to { while (print('foo'), 5) { print $_, 'bar', $/ } } curiously prints foobar instead of foo5bar...
somianAnybody used Qt?
scrottieeibwen: why would print() latch on to the 5 that came after it in another expression?
Hammiteibwen: does it also print 5bar?
scrottieeibwen: I don't really want an answer, I just wanted you to have a chance to hear how dumb it sounds.
eibwen: or maybe you're confusing while() with for().
Hammityeah
eibwenscrottie: comma operator in void context
scrottiewhile() will keep looping on the true value of 5, whereas for() would iterate over them.
eibwenheh
scrottieeibwen: go read about contexts and stop making shit up.
eibwenlol
my appologies... it's been awhile since I've used a while -- and I did indeed expect $_.
scrottie5;

Page: 2 9 16 23 30 37 44 51 58 65 72 79 

IrcArchive