This works!!

print "history $history[ 0 ]{ version }\n";

Jerry

-----Original Message-----
From: Jerry Preston [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 01, 2004 8:33 PM
To: 'Perl Beginners'
Subject: Array - how to access and display??


Hi!

This is new to me and I do not know how to access the value '0.46' in the
following array:

@history = (
  {
    version => '0.46',
  }
);

Thanks,

Jerry


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to