Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Pathologically Eclectic Rubbish Lister
 
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 scrutinizing the Monastery: (8)
As of 2014-04-20 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls