in reply to using s///g;
You can't open DATA directly like that, which is what the error message is telling you. Either change DATA to something else, or (preferably) switch to the three form method of opening files: open my $data, '<', 'Pull-2015-5-18-23.txt' or die 'failed to open file';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using s///g;
by GrandFather (Saint) on Aug 06, 2015 at 21:02 UTC |