HTH, -juse strict; use warnings; my %Point = ('E' => [0,1,2], 'ID' => 'X30Y30VX11VY15E15'); &SomeRoutine(\%Point); sub SomeRoutine { my $hashref = shift; my $id = $hashref->{'ID'}; my @e = @{$hashref->{'E'}}; print $id, "\n"; print @e, "\n"; } __DATA__ X30Y30VX11VY15E15 012
In reply to Re: How to copy an list from a reference hash?
by jimbojones
in thread How to copy an list from a reference hash?
by lazurwol
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |