in reply to Re: Understanding split in a while loop
in thread Understanding split in a while loop

I thought that was it. Thanks. So it discards the odd numbered ones, i.e. line 1 etc.

Thanks.

Walking the road to enlightenment... I found a penguin and a camel on the way..... Fancy a yourname@perl.me.uk? Just ask!!!
  • Comment on Re^2: Understanding split in a while loop

Replies are listed 'Best First'.
Re^3: Understanding split in a while loop
by Fletch (Bishop) on Feb 28, 2005 at 13:54 UTC

    It doesn't discard them; it places them into $_ but you ignore it.</pedant>