in reply to how to invoke unix commands in perl
why bother with unix at all?
perl -e "while(<>){} print qq($.\n);" filename
In Section
Seekers of Perl Wisdom
in reply to how to invoke unix commands in perl
perl -e "while(<>){} print qq($.\n);" filename