For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > December 2006 > rewrite or reload on YAML









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author rewrite or reload on YAML
Wan Chaowei

2006-12-22, 6:59 pm

I will run myapp on mod_perl or FastCGI, but I want to know how to
rewrite or reload my YAML file.

for example

# myapp has this line
$hash{SomeKey} = 'SomeValue';

......

How can save this value to my YAML file, and how can I reload this value.
I don't want restart my web server. Before Catalyst I usually save the
values to a file and reload the values myself.

I'm a beginner of YAML.

Thanks for any help!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com