This is OWTDI - there are plenty though:
#!/usr/bin/perl -w use strict; while (<DATA>) { chomp; my @fields = split "/" , $_; print join "/" , @fields[1,2,0]; print "\n"; } __DATA__ 74/05/25 54/03/04 69/08/23 55/08/24
Hope this gets you pointed in the right direction!
Cheers and happy hacking - L~R
In reply to Re: Manipulating Date Numbers
by Limbic~Region
in thread Manipulating Date Numbers
by ellem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |