One of the constructs of this simple language is: MyVar IsNumber - a true bool if MyVar turns out to be a number.This is not exactly what you're asking for, but may I point you towards the module Regexp::Common? No need to reinvent that wheel. Then, with
at the top of your generated script, the original expression can become:use Regexp::Common 'RE_ALL';
$MyVar =~ RE_num_real()
In reply to Re: double deference a variable
by bart
in thread double deference a variable
by coreywride
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |