NAME

Catalyst::Plugin::CodeEval - Module for huge Catalyst application development.

SYNOPSIS

  # in your catalyst application.
  use Catalyst 'CodeEval';

  $c->code_eval('perl_script.pl');

  # create file in your catalyst application directory.

  # $c->config->home . /code_eval/perl_script.pl

  $c->log->debug('bar bar bar');
  $c->log->debug('$c->req->base->host : '.$c->req->base->host);
  1;

DESCRIPTION

perl script file is executed by using eval. happiness visits when starting of your application is very slow.

METHODS

code_eval

perl script file is executed by using eval.

read_code

read file

SEE ALSO

Catalyst PadWalker

AUTHOR

Shota Takayama, shot[atmark]bindstorm.jp

COPYRIGHT AND LICENSE

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.