develooper Front page | perl.perl5.porters | Postings from May 2003

Re: [perl #22238] Bizarre copy of HASH in leave

Thread Previous | Thread Next
From:
Abe Timmerman
Date:
May 19, 2003 14:04
Subject:
Re: [perl #22238] Bizarre copy of HASH in leave
Message ID:
200305192301.32025.abe@ztreet.demon.nl
Op een zonnige lentedag (Monday 19 May 2003 21:35), schreef Dave Mitchell:

> On Mon, May 19, 2003 at 02:44:57AM -0000, Andreas Koenig wrote:
> > Uli Pfeifer sent me this one to check agains dev perls. Yes, the bug is
> > confirmed against blead@19558 and maint@19553:
> >
> > % perl -Te '@{%h}{x}'
> > Bizarre copy of HASH in leave at -e line 1.
>
> This is just a rehash (surely a pun somewhere?) of what I reduced bug
> id #3420 to. I'm not sure it needs a new ticket...

Looking at that report and the above, I'd say they're the same.
Am I right in feeling that this should be a syntax error or at least some sort 
of funny runtime-warning like (under warnings) "Can't use '1/8' as a 
hashref"?

It looks to me like the "-T" branch in the code is getting something right 
(except for the cryptic error).

Please enlighten me...

Good luck,

Abe
-- 
Benjamin Goldberg> chr(0x20_0000+number) has that property, 
Benjamin Goldberg> unless space aliens land on earth.

These are the kinds of statements that make the snowballs in hell look
expectantly at the thermometer.  Or, in this case, the aliens look at
their calendar whether they can fit in an invasion.
                                   -- Jarkko Hietaniemi on p5p @ 2002-02-03


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About