Masafumi Yoshida > Aspect-Loader-0.03 > Aspect::Loader

Download:
Aspect-Loader-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Aspect::Loader - load aspect by configuration

SYNOPSIS configuration by yaml ^

  aspects:
   - library: Singleton
     call: Hoge::new
   - library: Trace
     call: Hoge::hogehoge

code

  Aspect::Loader->yaml_loader($yaml_path);
  # singleton  same instance
  Hoge->new->hoge;
  Hoge->new->hoge;
  # trace method
  Hoge->hogehoge;

DESCRIPTION ^

This class is the one for Aspect.pm where Aspect is achieved with perl. Aspect.pm is facilitated and the management enabling and operation are facilitated by the configuration file.

SEE ALSO ^

this class is a tool for Aspect

AUTHOR ^

Masafumi Yoshida, <masafumi.yoshida820@gmail.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 by masafumi yoshida

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.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: