in reply to open works fine but not working
That way, you can make sure of what you're reading. :)chomp(my $line = <RESULTS>); print "Read in: '$line'\n"; while (defined $line) { # Do stuff here chomp ($line = <RESULTS>); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: open works fine but not working
by clscott (Friar) on Jul 27, 2001 at 00:16 UTC | |
by dragonchild (Archbishop) on Jul 27, 2001 at 00:20 UTC | |
by clscott (Friar) on Jul 27, 2001 at 00:31 UTC |