in reply to perl hash array printing
Hello, hope this helps a bit my example is with an annonymous array though:
use v5.14; my %hash = ('hello', => ['world','there']); print $hash{'hello'}[1];
|
---|
In Section
Seekers of Perl Wisdom
in reply to perl hash array printing
Hello, hope this helps a bit my example is with an annonymous array though:
use v5.14; my %hash = ('hello', => ['world','there']); print $hash{'hello'}[1];
|
---|