develooper Front page | perl.perl5.porters | Postings from January 2013

Re: patch for perl5db -> You can t FIRSTKEY with the %~ hash

Thread Previous | Thread Next
From:
Aaron Crane
Date:
January 25, 2013 09:12
Subject:
Re: patch for perl5db -> You can t FIRSTKEY with the %~ hash
Message ID:
CACmk_tsn42cg1_n0R2CmrsOrRLavYMz4giDKTXf4mq7uoa_vWw@mail.gmail.com
Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:
>   use File::HomeDir;
>   require "code/perl5/lib/dumpvar.pl";
>   dumpValue({ x => \%~, z => [ 1, 2, 3 ] });
>
> Now emits:
>
>   'x' => HASH(0x7f8c3a9ccfa8)
>         << value could not be dumped: You can't FIRSTKEY with the %~ hash at code/perl5/lib/dumpvar.pl line 217.
>    >>
>   'z' => ARRAY(0x7f8c3a8298e0)
>      0  1
>      1  2
>      2  3
>
> If no one sees a reason to object, I will apply this to blead soon.

Seems eminently sensible to me.  +1 to applying that.

-- 
Aaron Crane ** http://aaroncrane.co.uk/

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