[EMAIL PROTECTED] [D], on Wednesday, April 27, 2005 at 12:55
(-0400) wrote the following:

D> But I do not understand what the (split)[-1] is saying?  please explain.

it gets last splitted value from the list.
(split)[0]   #get the first splitted value
(split)[0,1] #get first and second splitted value (assign it to @array)
(split)[-1]  #get the first value from the end of list


--

How do you protect mail on web? I use http://www.2pu.net

[Punny Book: Fastest Gun In The West - Everett DeReady]



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