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

Re^6: How to make changes in yaml file thorugh perl

by moritz (Cardinal)
on Jul 13, 2012 at 12:13 UTC ( #981607=note: print w/replies, xml ) Need Help??


in reply to Re^5: How to make changes in yaml file thorugh perl
in thread How to make changes in yaml file thorugh perl

Well, then you need to write the YAML string to that file. See perlintro, perlopentut.

  • Comment on Re^6: How to make changes in yaml file thorugh perl

Replies are listed 'Best First'.
Re^7: How to make changes in yaml file thorugh perl
by Anonymous Monk on Jul 13, 2012 at 12:46 UTC
    Got it YAML::Tiny has methods like read and write which helps in editing yaml file on disk.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2016-12-08 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (142 votes). Check out past polls.