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;
In reply to Re: need help on declaring variables
by Thilosophy
in thread need help on declaring variables
by tuakilan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |