in reply to Re: Why can I kind of read this file?
in thread Why can I kind of read this file?
and get the results. But if I do:foreach my $line (<MVMT>) { print $line; }
then $file will be empty where @foo is completely as expected.my @foo; foreach my $line (<MVMT>) { push( @foo, $line ); } my $file = join('', @foo);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 3: Why can I kind of read this file?
by tilly (Archbishop) on Oct 25, 2001 at 05:12 UTC | |
by ichimunki (Priest) on Oct 25, 2001 at 05:30 UTC |