in reply to need help on declaring variables
Hmm. Did it give you an error message to go along with the error?
The error seems to stem from here:
You suspect $1 and $2. Do they contain the value you think they should (add some debug output)? When using regular expressions, you should check if there actually was a match.my $dt = $Strp->parse_datetime($1); my $timestamp = $dt ->epoch(); my $refs = $2;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: need help on declaring variables
by tuakilan (Acolyte) on Mar 03, 2008 at 07:31 UTC |