in reply to Re: Relative Merits of References
in thread Relative Merits of References

You can't change the code, show that the changed code is legal and claim the original was legal.

The OP has
my %$a=(a=>1,b=>2);
You have
my %a; %$a=(a=>1,b=>2);

Replies are listed 'Best First'.
Re^3: Relative Merits of References
by johngg (Canon) on May 11, 2006 at 18:47 UTC
    Yep, I missed the significance of the my %$h = .... I'm thinking back now to dimly remembered exam advice from more than thirty years ago, "Read the question carefully before answering." I'll try to pause for thought next time.

    Cheers,

    JohnGG