William J Black wrote at Wed, 03 Jul 2002 20:25:02 +0200:

> If I have a string, for examle: $date = "06072002"; How could I separate this in to 
>three separate
> vars so that $mon=06, $day=07 and $year=2002.
> 

my ($mon, $day, $year) = $date =~ /(..)(..)(....)/;


Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to