I think this will help you
@arr = ('092205', '092305', '092605'); map {s/^(\d{2})(\d{2})(\d{2})/$1\/$2\/$3/} @arr; $" ="\n"; print "@arr";
Prasad
In reply to Re: modify the contents of an array
by prasadbabu
in thread modify the contents of an array
by s_gaurav1091
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |