Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 meditating upon the Monastery: (4)
As of 2017-06-25 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (564 votes). Check out past polls.