Why $releases[ $index ]->{'versions'} is an array reference wrapper around the hash reference, not just straight hash reference?
# Why this ... my @releases = ( { ... versions => [{ version => $stable, files => [ "foo-$stable-1.i386.rpm"] }] } # ... not this? my @releases = ( { ... versions => { version => $stable, files => [ "foo-$stable-1.i386.rpm"] } } );
In reply to Re: A Hash is a Hash (of course, of course)
by parv
in thread A Hash is a Hash (of course, of course)
by hacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |