Bryan Harris wrote:
> Thanks, Rob.
>
> Is there anywhere I can find other special cases?  I was so happy when I
> learned about split ' '.  =)

Not only that, but the default first parameter of 'split' is a single space,
so you can do

  while (<FILE>) {
    my @record = split;
  }

and it will split each record (from $_) into whitespace-separated fields.

Your best bet for other cases is to browse through

  perldoc perlfunc

looking for 'omitted' which will find all instances of default parameters
in there.

HTH,

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to