NAME Parv::Util::Compile - Compile string or a file's content as a sub SYNOPSIS use Parv::Util::Compile; # Make an object $eval = Parv::Util::Compile->make(); DESCRIPTION Parv::Util::Compile, 0.00, is OO module. There is only a constructor method, no copier/cloner. It is basically a wrapper around "eval()", nothing more. It compiles either of a string, contents of a file, or both. INTERFACE string() Returns un compiled code string. set_string( ) Sets un compiled code string. file() Returns file name containing code. set_file( ) Sets to file name containing code. proc() Returns compiled code (subroutine reference). set_proc( ) Sets subroutine reference after compilation of the code. execute() Executes the compiled code. compile() Compiles both string and file name. One of the two is optional. compile_string( ) Returns the given string as sub reference. read_file() Returns content of a file as a scalar reference. SEE ALSO * "eval" * perlre, perlretut, perlsub Distribution and such Parv, parv(at)pair(dot)com Modified: May 22 2004 This software is free to be used in any form only if proper credit is given. I am not responsible for any kind of damage or loss. Use it at your own risk.