How about:
my @arr = qw/092205 092305 092605/; foreach (@arr) {$_ = sprintf "%d%d/%d%d/%d%d", split //} print "@arr";
In reply to Re: modify the contents of an array
by dannoura
in thread modify the contents of an array
by s_gaurav1091
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |