in reply to Re^6: Use of uninitialized value in string eq
in thread Use of uninitialized value in string eq
This won't do what you want, whether it compiles or not.:
open($file or die "can not open .txt file: $!") ;This line appears to have changed from the original node:
foreach $file (@files) {That will not work under strict unless you've added a my $file somewhere above that. Try not to hand-copy the code. Using copy and paste is much more accurate.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Use of uninitialized value in string eq
by Anonymous Monk on Sep 10, 2014 at 18:18 UTC | |
by SuicideJunkie (Vicar) on Sep 10, 2014 at 18:37 UTC |