Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Skip 21 Lines

by MeowChow (Vicar)
on Apr 25, 2001 at 11:24 UTC ( #75394=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Skip 21 Lines
in thread Skip 21 Lines

Nice use of an obscure variable (the obfuscator in me salutes you), but you'd better hope that the file is at least 22 lines long, or you'll be waiting quite a while for your data :-)

   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on Re: Re: Re: Skip 21 Lines
Re: Re: Re: Re: Skip 21 Lines
by turnstep (Parson) on Apr 25, 2001 at 17:56 UTC
    Point taken (although I don't think of $. as particularly obscure.) Slight modification:
    1 while <DATA> and $. < 21;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://75394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-09-19 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (146 votes), past polls