Hi All,
 
I have following data in the 0 th position of the array.i need to
extract only 143
Days Old:143--User:yevala--Element:/vobs/ivr/air.pj/hdrs/irDefines.h

I did in the following way.

my @data=("Days
Old:143--User:yevala--Element:/vobs/ivr/air.pj/hdrs/irDefines.h"
);
foreach(@data)
{
my @data1=split(':', $_, 1);
print "@data1\n";
}

But i am not getting 143 out of it.

Please help

Regards

Irfan.


Reply via email to