Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2016-12-05 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (94 votes). Check out past polls.