A
Andy Haupt
hello,
in ksh you can set array variables like
a[1]=x
a[4]=y
and access them like
echo ${a[1]}
how do I access this array in Perl?
$ENV{"a"} retrieves 'x' (the value of a[1])
keys %ENV lists 'a' amongst its vars
but how do I
find out that a is an array, the length of a and its
subscripts and values?
rgds
andy
in ksh you can set array variables like
a[1]=x
a[4]=y
and access them like
echo ${a[1]}
how do I access this array in Perl?
$ENV{"a"} retrieves 'x' (the value of a[1])
keys %ENV lists 'a' amongst its vars
but how do I
find out that a is an array, the length of a and its
subscripts and values?
rgds
andy