in reply to
to interchange line no of file & print
If you're running in a *nix environment, there already exists a utility that does what you want:
paste
.
man paste
'nuff said :)
Comment on
Re: to interchange line no of file & print
Download
Code
In Section
Seekers of Perl Wisdom