John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
So, a pair of dice has two distinguished enumerated values (Skunk and Double Skunk) in addition to a possible numeric value. To test this, I can use Scaler::Util stuff in 5.8, but if I wanted to avoid being incompatible with 5.6, what's an elegant way to do this?
Hmm, I don't see the function I thought was in Scaler::Util now. I don't see the functions for checking the byte/char mode of a string, either. Where are they? I thought this was all supplied with 5.8 now.
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Test for numeric
by japhy (Canon) on Jun 21, 2003 at 06:28 UTC | |
|
Re: Test for numeric
by broquaint (Abbot) on Jun 21, 2003 at 14:43 UTC | |
by John M. Dlugosz (Monsignor) on Jun 21, 2003 at 20:26 UTC |