#!/usr/bin/perl -l # http://perlmonks.org/?node_id=1172399 use strict; use warnings; my @AnData = 'A'..'Z'; my %AN=(data => \@AnData); print $AN{data}[0x16], ' ', $AN{data}[22];
prints:
W W
Note that 0x16 is the same as 22.
In reply to Re: complex data structures
by tybalt89
in thread complex data structures
by perltux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |