E
Eric Smith
Hi
if ( $foo =~ /(\d\d)-(\d\d)-\d\d\d\d/ and $bar =~ /(\d?\d)
\d\d)
\d
\d)/ )
{
# How do I match here the the two fields of $foo ?
# Or is it not possible in a single construction?
# $bar of course gives its ($hours, $minutes, $seconds) = $1, $2 and
$3
}
Thanks
Eric Smith
if ( $foo =~ /(\d\d)-(\d\d)-\d\d\d\d/ and $bar =~ /(\d?\d)
\d)/ )
{
# How do I match here the the two fields of $foo ?
# Or is it not possible in a single construction?
# $bar of course gives its ($hours, $minutes, $seconds) = $1, $2 and
$3
}
Thanks
Eric Smith