in reply to Re: How to parse a file with emails and IP's and output a sorted list with a total count
in thread How to parse a file with emails and IP's and output a sorted list with a total count
Bareword found where operator expected at line 24, near "s/\@.*//r"
print $who =~ s/\@.*//r, " total: ", scalar @ips, " unique ip's\n";
I took out the single quote, and still same thing. What's the bare word it is complaining about. I think it doesn't like $who in that case..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to parse a file with emails and IP's and output a sorted list with a total count
by Anonymous Monk on Jul 28, 2016 at 23:33 UTC |