This would be a good route if you had a less standard format, like optional dashes.my ($tyear, $tmon, $tday) = ($today =~ /(\d{4})(\d{2})(\d{2})/);
-- Kirby, WhitePages.com
In reply to Re: splitting a string into arbitrary lengths
by kirbyk
in thread splitting a string into arbitrary lengths
by ryanc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |