Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: writing to a file

by joeface (Pilgrim)
on Jul 01, 2005 at 14:55 UTC ( #471745=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Tie::File;
    
    ...
    
    untie(@tiedfile);
    
  2. or download this
    
    foreach my $line (reverse(@new_content)) {
        unshift(@tiedfile, $line);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://471745]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2017-05-30 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?