David Leadbeater > Eval-WithLexicals-1.002000 > Eval::WithLexicals::WithHintPersistence

Download:
Eval-WithLexicals-1.002000.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.002000   Source   Latest Release: Eval-WithLexicals-1.003000

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.

syntax highlighting: