in reply to how to invoke unix commands in perl
why bother with unix at all?
perl -e "while(<>){} print qq($.\n);" filename
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: how to invoke unix commands in perl
by Anonymous Monk on Oct 28, 2004 at 07:06 UTC | |
by Anonymous Monk on Jan 12, 2009 at 16:24 UTC | |
by parkprimus (Sexton) on Oct 08, 2016 at 04:22 UTC |
In Section
Seekers of Perl Wisdom