On Sat, Feb 7, 2009 at 19:21, Rob Dixon <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to