Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Edit varaibles in file

by DamnDirtyApe (Curate)
on Mar 31, 2004 at 19:11 UTC ( #341385=note: print w/replies, xml ) Need Help??


in reply to Edit varaibles in file

Personally, I think I'd take this approach:

use Tie::File; tie my @arr, 'Tie::File', 'myfile.dat'; s(1\.00)(5) and last for @arr; untie @arr;

_______________
DamnDirtyApe
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
            --Friedrich Nietzsche

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://341385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2021-10-18 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (73 votes). Check out past polls.

    Notices?