CGI-Compile
view release on metacpan or search on metacpan
The generated package name.
* $subname
The generated coderef name, based on the file name (without
directory) of the CGI file path.
_eval
Takes the generated perl code, which is the contents of the CGI script
and some other things we add to make everything work smoother, and
returns the evaluated coderef.
Currently this is done by writing out the code to a temp file and
reading it in with "do" in perlfunc so that there are no issues with
lexical context or source filters.
Parameters:
* $code
The generated code that will make the coderef for the CGI.
Returns:
* $coderef
The coderef that is the resulting of evaluating the generated perl
code.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
CONTRIBUTORS
Rafael Kitover <rkitover@gmail.com>
Hans Dieter Pearcey <hdp@cpan.org>
kocoureasy <igor.bujna@post.cz>
Torsten Förtsch <torsten.foertsch@gmx.net>
Jörn Reder <jreder@dimedis.de>
Pavel Mateja <pavel@verotel.cz>
lestrrat <lestrrat+github@gmail.com>
COPYRIGHT & LICENSE
Copyright (c) 2023 Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SEE ALSO
ModPerl::RegistryCooker CGI::Emulate::PSGI
( run in 1.244 second using v1.01-cache-2.11-cpan-437f7b0c052 )