Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2015-03-28 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (625 votes), past polls