Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi there Monks!
Is it possible to add an arrayref:
To a hashref:
Thanks for looking!
Is it possible to add an arrayref:
my $arrayref = [ 'Country', 'location', 'language' ];
To a hashref:
my $hashref = { 'name' => "Harsha", 'designation' => "Manager" }
push %$hashref{personal},$arrayref;
Thanks for looking!
Back to
Seekers of Perl Wisdom