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';
In reply to Re: using s///g;
by SimonPratt
in thread using s///g;
by ravi45722
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |