Re: Ragarding regular expression

2007-01-04 Thread Owen Cook
On Fri, Jan 05, 2007 at 11:16:58AM +0530, Dharshana Eswaran wrote: > Hi, > > I have an array which reads as follows: > > @array = (01, 45, 02, 57, 03); > > When i try to print this array, it prints the single digit value as > > 1, 45, 2, 57, 3 > > But i want it to print like > > 01, 45, 02,

Ragarding regular expression

2007-01-04 Thread Dharshana Eswaran
Hi, I have an array which reads as follows: @array = (01, 45, 02, 57, 03); When i try to print this array, it prints the single digit value as 1, 45, 2, 57, 3 But i want it to print like 01, 45, 02, 57, 03 I can use if condition and then try printing the value as double digit, but i was t