perlanet::trait::yamlconfig(3pm) debian man page | unix.com

Man Page: perlanet::trait::yamlconfig

Operating Environment: debian

Section: 3pm

Perlanet::Trait::YAMLConfig(3pm)			User Contributed Perl Documentation			  Perlanet::Trait::YAMLConfig(3pm)

NAME
Perlanet::Trait::YAMLConfig - configure Perlanet through a YAML configuration file
SYNOPSIS
package MyPerlanet; extends 'Perlanet'; with 'Perlanet::Traits::YAMLConfig'; my $perlanet = MyPerlanet->new_with_config( configfile => 'whatever.yml' ); $perlanet->run;
DESCRIPTION
Allows you to move the configuration of Perlanet to an external YAML configuration file. Example Configuration File title: planet test description: A Test Planet url: http://planet.example.com/ author: name: Dave Cross email: dave@dave.org.uk entries: 20 opml: opml.xml page: file: index.html template: index.tt feed: file: atom.xml format: Atom cache_dir: /tmp/feeds feeds: - url: http://blog.dave.org.uk/atom.xml title: Dave's Blog web: http://blog.dave.org.uk/ - url: http://use.perl.org/~davorg/journal/rss title: Dave's use.perl Journal web: http://use.perl.org/~davorg/journal/ - url: http://www.oreillynet.com/pub/feed/31?au=2607 title: Dave on O'Reillynet web: http://www.oreillynet.com/pub/au/2607
METHODS
THIRTY_DAYS The default length of caching, if caching options are present in the configuration get_config_from_file Extracts the configuration from a YAML file
AUTHOR
Oliver Charles, <oliver.g.charles@googlemail.com>
COPYRIGHT AND LICENSE
Copyright (c) 2010 by Magnum Solutions Ltd. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2012-03-17 Perlanet::Trait::YAMLConfig(3pm)
Related Man Pages
yaml::any(3) - suse
class::trait::base(3pm) - debian
class::trait::config(3pm) - debian
feed::find(3pm) - debian
moosex::poe::meta::trait::instance(3pm) - debian
Similar Topics in the Unix Linux Community
The 2007 CEP Blog Awards
Please Welcome Dr. Rainer von Ammon to The CEP Blog
How safe is my poems on internet?
Blog: The Myth of 100% IT Efficiency
Perl: update lastmod in xml file