Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 rifling through the Monastery: (11)
As of 2014-09-22 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (201 votes), past polls