Just another Perl shrine | |
PerlMonks |
Re^4: How do i extract 3 variables from each line in a file, and print them to a new fileby Transient (Hermit) |
on Jul 08, 2005 at 18:12 UTC ( [id://473524]=note: print w/replies, xml ) | Need Help?? |
good question.. hope I'm not overstepping my bounds by responding..(and I hope I'm right!)
is equivalent to because map BLOCK LIST has to run the BLOCK for each LIST element (setting each LIST value to $_), it must know what is in that LIST. Hence, the execution of the split(s) before the execution of the BLOCK (and therefore the map).
In Section
Seekers of Perl Wisdom
|
|