Welcome to the Monastery | |
PerlMonks |
Re: way of declare an integer variable instead use /^\d+$/by Anonymous Monk |
on May 25, 2024 at 06:57 UTC ( [id://11159656]=note: print w/replies, xml ) | Need Help?? |
/^\d+$/ is the shortest you'll get. except maybe int, but that's different.
In Section
Seekers of Perl Wisdom
|
|