Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • yes, indeed (Score:3, Informative)

    by jhi (318) <jhi@iki.fi> on 2003.02.13 9:12 (#16984) Homepage Journal

    kosh:/tmp/jhi/maint ; /p/bin/perl -wle '$a=[{foo=>1,bar=>2},"FOO","BAR"];print $a->{foo}'
    FOO
    kosh:/tmp/jhi/maint ; ./perl -wle '$a=[{foo=>1,bar=>2},"FOO","BAR"];print $a->{foo}'
    Pseudo-hashes are deprecated at -e line 1.
    FOO
    kosh:/tmp/jhi/maint ;


    It's the dereferencing of pseudo-hashes that triggers the warning.