Re: FW: Question about split

2009-06-08 Thread Gene
>From my understanding, the splitter always associated with two parts, the front part and back part, in your example, the first splitter is "Welcome to openSUSE ", whose front part is blank, so the first element of @numbers should be empty. You can try a simpler example as follows: $_ = ":0"; my

FW: Question about split

2009-06-08 Thread Ajay Kumar
Because first element of the array is empty -Original Message- From: sanket vaidya [mailto:sanket.vai...@patni.com] Sent: Wednesday, May 27, 2009 4:16 PM To: beginners@perl.org Subject: Question about split Hi all, Kindly look at the code below: use warnings; use strict; $_ = '