in reply to grep in line and print
That code certainly doesn't do what you think it does. Add a print $line,"\n"; statement just after foreach to see why.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: grep in line and print
by justbow (Initiate) on Jan 24, 2013 at 02:36 UTC | |
by roboticus (Chancellor) on Jan 24, 2013 at 19:29 UTC |
In Section
Seekers of Perl Wisdom