Peter Scott writes ..

>At 10:44 AM 5/17/01 +1000, King, Jason wrote:
>>so here's the thing .. Perl doesn't have pointers .. only references
>>.. so you can't have a 1500 element array and grab a reference to the
>>700th element
>
>Oh yes you can:
>
>my @foo = qw(three blind mice);
>my $elemref = \$foo[2];

yes .. sorry - I phrased that badly .. I meant that you couldn't grab a
reference to an array starting at the 700th element

-- 
  jason king

  It is illegal to "annoy a bird" in any city park of Honolulu, Hawaii.
  - http://dumblaws.com/

Reply via email to