develooper Front page | perl.perl5.porters | Postings from December 2001

Re: [ID 20011206.009] format defined inside of failed 'eval'

Thread Previous
Michael G Schwern
December 6, 2001 15:50
Re: [ID 20011206.009] format defined inside of failed 'eval'
Message ID:
On Thu, Dec 06, 2001 at 11:40:45PM -0000, wrote:
> The 'eval' fails because of the use of the global variable '$var' in
> the 'format' declaration.  Afterwards, $@ contains 
>         Global symbol "$var" requires explicit package name at (eval 1) line 4.
> Nevertheless, the format is still defined as if nothing had gone
> wrong, as the 'write' shows; the output is
>         The value of 'var' is:        bloop

Confirmed, still a problem in bleadperl.


Michael G. Schwern   <>
Perl Quality Assurance	    <>	       Kwalitee Is Job One
I stared into the Abyss, and it avoided making eye contact.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About