Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Quick Question - Append File at Beginning?

by dasgar (Curate)
on Nov 16, 2013 at 01:46 UTC ( #1062835=note: print w/ replies, xml ) Need Help??


in reply to Quick Question - Append File at Beginning?

If you use Tie::File to 'tie' a file to an array, you can prepend to the file by unshifting to the array.


Comment on Re: Quick Question - Append File at Beginning?
Re^2: Quick Question - Append File at Beginning?
by Kenosis (Priest) on Nov 16, 2013 at 01:55 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2015-07-04 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls