> well i cant understand what the $1, $2 and $3 do?? > herez the code
Howdy > if ($date =~ /(\d\d):(\d\d):(\d\d)/) ^ ^ ^ $1 $2 $3 The $1,$2,$3 etc hold the parenthesis matched contents in a regex. HTH DMuey -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]