Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Newbie: uses/limits of perl in editing files

by Dominus (Parson)
on Nov 23, 2007 at 15:06 UTC ( #652588=note: print w/replies, xml ) Need Help??


in reply to Newbie: uses/limits of perl in editing files

Tie::File is nice for stuff like that.

It makes the file look like an array, with one line in each element. Then you modify the array. As you do, the changes appear in the file.

  • Comment on Re: Newbie: uses/limits of perl in editing files

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://652588]
help
Chatterbox?
[stevieb]: ohhh, aaaand, I just learned that you can power an Arduino (Uno at least) by connecting any single analog pin to 5v on the Pi GPIO! That's bloody handy

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2017-06-22 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (531 votes). Check out past polls.