NAME
Eval - Adjusts warnings and errors for eval
d code
SYNOPSIS
require Eval;
my $code = new Eval();
$code->eval($code_string, $file, $line);
my $result = $code->x(args, ...);
DESCRIPTION
Eval is a simple wrapper around the eval
built-in that adjusts warnings and error messages. You may pass in a file
and line
, in addition to the code to be evaluated.
BUGS
Allow customization of message mangling? This is similar to Religion.pm in some ways?
Regression test...?
AUTHOR
Copyright (c) 1997 Joshua Nathaniel Pritikin. All rights reserved.
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself.