On Thu, 10 Mar 2005 14:52:36 -0000, Marcos Rebelo
<[EMAIL PROTECTED]> wrote:
> This is correctly printing '7' but '$a->[EMAIL PROTECTED]' seems to be 
> encripted
> code.
> 
> Can I write this in a cleaner way?
> 
perl -e '$a = [1,2,3,4,7]; print $a->[-1];'

-- 
Kind regards,
Hal Ashburner

-- 
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