Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2023-12-05 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (25 votes). Check out past polls.

    Notices?