in reply to Re: Turning foreach into map?
in thread Turning foreach into map?
Wow! This will take me a while to properly digest, but my first question is, why is:
my ($url, @list) = @_;
now:
my $sub = shift;
I have seen loads of people do this. Even merlyn now suggests it in another thread that I can't remember, when it's his book I learnt it from ;-)
Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!
Fancy a yourname@perl.me.uk? Just ask!!!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Turning foreach into map?
by polettix (Vicar) on Apr 05, 2005 at 09:55 UTC | |
Re^3: Turning foreach into map?
by tlm (Prior) on Apr 05, 2005 at 09:30 UTC |
In Section
Seekers of Perl Wisdom