Search This Blog

Tuesday, February 1, 2011

dereferencing hash-array in perl

Dereferencing hash array is same as array dereferencing
it is used in some place like .json replys in website

Dereferencing hash-array

my %hash = %$location;
my $point=$hash{'point'};
my %hash = %$point;
my $coo=$hash{'coordinates'};

No comments:

Post a Comment