True, it should be

chomp $line;
my @login=split(/:/,$line);

On Fri, 8 Feb 2002, Douglas Wilson wrote:

>
> From: "Cliff Nadler" <[EMAIL PROTECTED]>
>
> >    my @login=split(/:/,chomp($line));
>
> This does not do what you think it does.
> 'chomp' returns the number of characters removed.
> Check the docs.
>
> HTH,
> Douglas Wilson
>

-- 
--------------------------------------------------------------------------
Cliff Nadler            Collective Technologies, Inc.
[EMAIL PROTECTED]    (512)-263-5500
--------------------------------------------------------------------------
To win, you must treat a pressure situation as an opportunity to succeed,
not an opportunity to fail                      Gardner Dickinson

Reply via email to