The stupid question is the question not asked | |
PerlMonks |
Single line insert to the start of a fileby darklord_999 (Acolyte) |
on Aug 16, 2012 at 07:15 UTC ( [id://987703]=perlquestion: print w/replies, xml ) | Need Help?? |
darklord_999 has asked for the wisdom of the Perl Monks concerning the following question: I have a 2 files as below File1:
File2:
How can I get the first line from File1 and insert it into the first line of File2?File 2 ultimately should look like below:
Is there a single liner which can do this ?
Back to
Seekers of Perl Wisdom
|
|