#perl - Tue 13 Mar 2007 between 11:06 and 11:19



Jo-W3:57
LeoNerd^-- a genuine photo I took, completely unmodified :)
dazjorz15:06
Prof_Vincenot yet in the u.s.
Jo-W13/3/7 3:57
dazjorzLol, LeoNerd :)
LeoNerd(Budapest, Hungary, if anyone wondered)
DavemanGumbybrain: dazjorz it!
GumbyBRAINBut it is very aggressive. I saw it a while ago but never bothered with it.
Prof_VinceGumbyBRAIN: thou speaketh thruths
GumbyBRAINThou beareth false witness.
Daveman:o
truthseer!
simcop
dazjorzGumbyBRAIN: Daveman it!
GumbyBRAINWhat does it like the usual crap ytou get from the interface of <= 0.08, which means it can't find in it.
dazjorzFirefox just crashed for the second time. -_-
Daveman/o/
Gumbybrain: moz-dev it!
GumbyBRAINIt has to work out flashing a 110v lamp (with sine wave) for $x period of time and the coalescence of elments and the within of the collective, it seems to thrive in it.
Davemanerr
Prof_VinceGumbyBRAIN: firefail fireflop firefat
GumbyBRAINPerle, 'he\@domain.com' should read 'he@domain.com', because '' doesn't interpolate.
Davemanthat makes a lot of sense -_-
hru701IsIs there something else I need to do, I am trying to loop each value in my array with: foreach my $names(@names) { ...} if the program just had one value delcared as $value = ' '; it works but having several values that are to start from the beginning doesn't, is there something blatantly wrong?
dazjorzLeoNerd: Seems like it works great! :)
Thanks a lot!
LeoNerd++ # again!
JasonKinghru701, your question.
APNICHow do I print an entire array? Such as $ENV? (php's print_r() function)
cfeddeAPNIC: %ENV is a hash, um associative array.
ayrnieuand we don't know 'print_r' does.
cfeddeprint "$_ $ENV{$_}\n" for (keys %ENV)
LeoNerdYou might like to try Data::Dumper ?
APNICThank you
LeoNerdOr that does it too
cfeddeif the elements of %ENV are simple then that works
ayrnieuperl -e 'print "$_: $ENV{$_}\n" for sort keys %ENV'
cfeddeprint "\$ENV{$_} = $ENV{$_}\n" for (keys %ENV)
LeoNerdGiven as %ENV is magic and tied to the getenv/putenv libc calls anyway, I expect weird things would happen if you put nonstrings in there

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 

IrcArchive