in reply to Re (tilly) 3: Skip 21 Lines
in thread Skip 21 Lines

I presume you're joking. That's the same problem. Read the whole file, keep the fifth element. Ugh.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re (tilly) 5: Skip 21 Lines
by tilly (Archbishop) on Apr 25, 2001 at 07:02 UTC
    Yes, that was a joke.

    But if you are going to be inefficient, at least be idiomatically inefficient. I didn't like having to count through undefs to figure out which line you were grabbing...