Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Read n lines from the top of a text fileby robin (Chaplain) |
on Dec 23, 2001 at 18:38 UTC ( [id://134065]=note: print w/replies, xml ) | Need Help?? |
This (reading 10 lines from the top of a text file) was the first hole in the recent fwp golf competition. Here's a summary of the solutions.
The cleverest answer was by Piers Cawley: Bonus points if you can figure out how it works :-)
In Section
Seekers of Perl Wisdom
|
|