Mat Harris [MH], on Wednesday, December 1, 2004 at 12:19 (+0000) contributed this to our collective wisdom:
>> Is there any special function for that job? MH> personally I would use a rexex: MH> if ($myunknownvalue =~ m/^\d*$/) personally I would change this regex to: if ($myunknownvalue =~ m/^\d+$/) because regex given matches also empty set ('') -- ...m8s, cu l8r, Brano. ["I shall be delivered from this fetid and festering sewer."-Winchester] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>