#perl - Sun 25 Mar 2007 between 00:00 and 00:09

NY Lost Funds



payalhi all
thrigScribbleJ: excess protein can be problematic for kidneys. Hence baby cow food being banned for human babies under one
rindolfHi all.
I'm working on a collection of "Larry Wall facs". Here's what I have so far:
1. Larry gets the colon.
D_Foscois it possible to make a subroutine with subroutines in it?
rindolf2. Larry Wall can understand the Perl code he wrote last year.
actionCPAN upload: ICal-QuickAdd-0.5_1 by MARKSTOS
CPANupload: ICal-QuickAdd-0.5_1 by MARKSTOS
rindolfD_Fosco: yes.
perlbot: closures
perlbotsee "perlbot: references" and then http://www.shlomifish.org/lecture/Perl/Newbies/lecture3/refs_to_funcs/ and then "perlbot sicp".
rindolfD_Fosco: ^^^
D_Foscorindolf: how would i do that?
rindolfD_Fosco: read what I showed you.
D_Fosco: it's explained there.
And quite briefly.
D_Foscook thank you
payal_hi all
sorry got disconnected
what does this exactly do?
my($what, @array) = @_;
thrigvariable assignment!
payal_is length of @_ assigned to $what
and @array is undef
thrigwhy would that be?
the () imply list context, not scalar context
payal_then what is assigned to $what
jonsmith1982S_[0]
$_[0]
payal_how come?
jonsmith1982i always say S in my mind hehe
thrigdo you know what list context is?
payal_thrig: now I think of it - NO
this has troubled me a lot - made me gave up perl 2 times
can someone explain how this really work
pasteling"thrig" at 76.22.53.96 pasted "list vs. scalar context for payal" (10 lines, 191B) at http://sial.org/pbot/23769
payal_my($what, @array) = @_;
jonsmith1982i see it as an array being split into ($var1, $var2) another array kindof
Milardovichhi everybody
payal_I am just reading the pasteling

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

IrcArchive

NY Lost Funds