in reply to help with the diamond operator

<$foo> reads in a line of code and stores it in $_ what you want is: while <$foo> { print $_; } close $foo; exit;

Replies are listed 'Best First'.
Re: Re: help with
by La12 (Sexton) on Jul 28, 2001 at 08:22 UTC
    To all,
    I'd like to thank everyone for not only showing me the correct code, but explaining to me what I was doing wrong.
    Thanks everyone.