Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How do I insert a line into a file?

by Juerd (Abbot)
on Mar 31, 2002 at 14:44 UTC ( #155606=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Tie::FreezeThaw;
    
    ...
        return (thaw $foo)[0];
    }
    1;
    
  2. or download this
    use Tie::File;
    use Tie::FreezeThaw;
    ...
    tie my @bar, 'Tie::FreezeThaw', \@foo;
    
    push @bar, [ qw/1..10/ ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-07-31 14:54 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 (278 votes), past polls