in reply to Re: Re: Manipulating Date Numbers
in thread Manipulating Date Numbers
my@new=map s|(^..)/(.*)|$2/$1|,@old;
or as a filter
C:\test>copy con junk 74/05/25 54/03/04 69/08/23 55/08/24 ^Z 1 file(s) copied. C:\test>perl -pes=(..)/(.*)=$2/$1= <junk 05/25/74 03/04/54 08/23/69 08/24/55
..and remember there are a lot of things monks are supposed to be but lazy is not one of them
|
|---|