Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 chilling in the Monastery: (14)
As of 2015-05-27 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (544 votes), past polls