in reply to Re: Problems with Data::Dumper
in thread Problems with Data::Dumper

Thank you very much!

I just modified my Data::Dumper line and it worked with the qw(*hash_name) inside the square brackets.

I'm still curious, however... why does it work on some systems without the qw( ) and not on others. What exactly does the use of parens do at that point in the code?

Thanks again!

Peter

Replies are listed 'Best First'.
Re: Re: Re: Problems with Data::Dumper
by fglock (Vicar) on Sep 30, 2003 at 13:05 UTC

    Perl was "fixed" between 5.005_03 and 5.6.1, such that it better understands references.

    If you run this program under 5.005_03, it (wrongly) understands *a as a string. Under 5.6.1 or later, you have to say "*a" to get a string.

      Dear Flávio, Thank you! You were extremely helpful. Obrigado, Peter