Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Just another Perl shrine
 
PerlMonks  

Re: Single line insert to the start of a file

by trizen (Friar)
on Aug 16, 2012 at 09:52 UTC ( #987723=note: print w/ replies, xml ) Need Help??


in reply to Single line insert to the start of a file

perl -MTie::File -e'tie@a,"Tie::File","f2.txt";unshift@a,scalar<>'<f1.txt


Comment on Re: Single line insert to the start of a file
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987723]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2014-04-18 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (462 votes), past polls