Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
[hippo]: Anyone able to get to https://deps. cpantesters.org/? Not even getting a connection from here.
[choroba]: Down for everyone of just me
[shmem]: "Problem loading page" here
[marto]: seems down
[planetscape]: Able to ping but not connect with either Opera or Firefox
[thanos1983]: same here...
[choroba]: marto ;-)
[Discipulus]: after an error now is back
[shmem]: looks like a 302 loop - "The document has moved here"
[Discipulus]: ..but only http not https

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2018-02-20 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (271 votes). Check out past polls.

    Notices?