in reply to How to access hash and push it in scalar variable

This should get you started:

#! perl use strict; use warnings; my %hash = ( key => {'individual name' => [['coordinates'], ['Rotation'], ['hei +ght']]}, ); my $coords = $hash{key}->{'individual name'}[0][0]; my $rotation = $hash{key}->{'individual name'}[1][0]; my $height = $hash{key}->{'individual name'}[2][0]; print "$_\n" for ($coords, $rotation, $height);

Output:

16:38 >perl 1014_SoPW.pl coordinates Rotation height 16:38 >

See perlreftut.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: How to access hash and push it in scalar variable
by Anonymous Monk on Sep 16, 2014 at 08:52 UTC
    thank you a lot. works perfektly for me!!