Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $arrayref = [ 'Country', 'location', 'language' ];
my $hashref = { 'name' => "Harsha", 'designation' => "Manager" }
push %$hashref{personal},$arrayref;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Add an arrayref to a hashref
by haukex (Archbishop) on Aug 12, 2019 at 19:23 UTC | |
by Anonymous Monk on Aug 12, 2019 at 20:00 UTC | |
by 1nickt (Canon) on Aug 12, 2019 at 20:28 UTC | |
|
Re: Add an arrayref to a hashref
by BillKSmith (Monsignor) on Aug 12, 2019 at 20:40 UTC | |
|
Re: Add an arrayref to a hashref
by jcb (Parson) on Aug 13, 2019 at 05:41 UTC | |
|
Re: Add an arrayref to a hashref (diverehohy)
by Anonymous Monk on Aug 13, 2019 at 04:27 UTC |