in reply to Strange saving behaviour
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Strange saving behaviour
by ChOas (Curate) on Feb 01, 2001 at 19:37 UTC | |
by arturo (Vicar) on Feb 01, 2001 at 19:42 UTC | |
by ChOas (Curate) on Feb 01, 2001 at 19:45 UTC | |
by davorg (Chancellor) on Feb 01, 2001 at 19:45 UTC |