NAME

Eval::WithLexicals::WithHintPersistence - Persist compile hints between evals

SYNOPSIS

use Eval::WithLexicals;

my $eval = Eval::WithLexicals->with_plugins("HintPersistence")->new;

DESCRIPTION

Persist pragams and other compile hints between evals (for example the strict and warnings flags in effect).

Saves and restores the $^H and %^H variables.

METHODS

hints

$eval->hints('$^H')

Returns the internal hints hash, keys are $^H and %^H for the hint bits and hint hash respectively.

SUPPORT

See Eval::WithLexicals for support and contact information.

AUTHORS

See Eval::WithLexicals for authors.

COPYRIGHT AND LICENSE

See Eval::WithLexicals for the copyright and license.