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>); }
In reply to Re: open works fine but not working
by dragonchild
in thread open works fine but not working
by clscott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |