Warning: untested as for speed vs. your regex (though it's faster if you put it inline, since it's so simple =), but here's a sub one could use to test for 'integrality':
sub is_int { my $num = shift; $num == int($num); }
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
In reply to Re: Strange saving behaviour
by arturo
in thread Strange saving behaviour
by Mandor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |