NAME

Egg::Plugin::rc - Loading the resource code file for Egg is supported.

SYNOPSIS

  use Egg qw/ rc /;

  my $rc= $e->load_rc;

DESCRIPTION

This plugin supports loading the resource code file for Egg.

Please prepare the resource code file in the following places.

  ./.egg_releaserc
  /project_root/.egg_releaserc
  ~/.egg_releaserc
  /etc/egg_releaserc

Moreover, please make the content YAML form.

* The part of egg_releaserc can be replaced by the value of $ENV{EGG_RC_NAME}.

METHODS

load_rc ( [ATTR_HASH] )

YAML::LoadFile is done if the rc file is found and the result is returned.

PATH can be set in current_dir and the rc file of an arbitrary place be read to ATTR_HASH.

SEE ALSO

YAML Egg::Release,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT

Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.