Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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
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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2020-05-27 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (152 votes). Check out past polls.

    Notices?