Thanks - that does make a bit more sense. I'm afraid it still isn't working, though.
Here's what I've got:
if ($time =~ m/\d{2,2}\d{2,2}/) {
$hour = $1;
$min = $2;
}I've tried it where $time is set to '800' and also where it's set to '1000' and in both cases $hour and $min were empty.
Any other ideas?
Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Here's what I've got:
Code:
my ($hour, $min); if ($time =~ m/\d{2,2}\d{2,2}/) {
$hour = $1;
$min = $2;
}
Any other ideas?
Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund