On Sat, Feb 7, 2009 at 19:21, Rob Dixon <rob.di...@gmx.com> wrote: snip > $record =~ s|,(..)/(..)/(....),|,$3$1$2,| or die "Data problem"; snip
Yes, but how would you handle it if this weren't the second field? It is better to have a general solution. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/