On Sun, 2005-05-08 at 04:43, amr wrote:
> How can I call the last element in the array? 
> 
> I try the pop and it does the job but I think there is another way?
> 
>  
> 
$array[-1]


HTH
Ram


----------------------------------------------------------
Netcore Solutions Pvt. Ltd.
Website:  http://www.netcore.co.in
Spamtraps: http://cleanmail.netcore.co.in/directory.html
----------------------------------------------------------

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