Dear Irfan,

 i think for the code you can try the below,

($some_thing1,$some_thing2,$something_3....)=split($test,".")

Regards
Mazhar

On 4/25/06, Tom Allison <[EMAIL PROTECTED]> wrote:
>
> Irfan J Sayed wrote:
> > Hi,
> >
> > I have a following line/statement stored in variable $test
> >
> > deliver.Admin_Irfan_Project.20060413.212355
> >
> > i want to split this line in . and store in array.
> >
> > I am using following code
> >
> > my @name = Split(/./, $test);
>
> split uses regular expressions to identify where to split the string.
> The expression you supplied, /./, would split on everything.
>
> In your particular case you could also split on /\W/.  But this isn't a
> very
> good choice, just an example.
>
> --
> 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