Cody Fendant has asked for the wisdom of the Perl Monks concerning the following question:
This post http://www.daemon.de/blog/2014/12/30/383/re-perl-jam-exploiting-20-year-old-vulnerability-31c3/ details a claim that perl has a security flaw, and rejects that claim.
Apparently this:
my @a = qw(8 foo 666); my %h = (foo => 100, bar => 333, san => @a); print Dumper(\%h); $VAR1 = { 'san' => 8, 'bar' => 333, 'foo' => 666 };
Is expected behaviour and not a problem. Happy to accept that, but can someone talk me through it? I've been working with perl for many years and never heard the word "dissolve" used before.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why does an array "dissolve" into a hash?
by Athanasius (Archbishop) on Aug 20, 2015 at 01:20 UTC | |
by Cody Fendant (Hermit) on Aug 20, 2015 at 03:54 UTC | |
by ikegami (Patriarch) on Aug 20, 2015 at 13:37 UTC | |
by Anonymous Monk on Aug 20, 2015 at 06:34 UTC | |
|
Re: Why does an array "dissolve" into a hash?
by LanX (Saint) on Aug 20, 2015 at 01:10 UTC | |
|
Re: Why does an array "dissolve" into a hash? (unlocked doors parody spam)
by Anonymous Monk on Aug 20, 2015 at 03:30 UTC |