Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Problem using YAML

by anneli (Pilgrim)
on Dec 31, 2011 at 02:55 UTC ( #945709=note: print w/replies, xml ) Need Help??


in reply to Problem using YAML

You can't get rid of ---, but what about like this?

DumpFile("test.yaml", { test => \%test })

DumpFile can't see the name of the variable you used, so you have to put that in the datastructure itself.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2022-05-23 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?