nmerriweather has asked for the wisdom of the Perl Monks concerning the following question:
that tosses the non-numeric error in strict/warnings$value = ( int($value) == $value ) ? $value : lookupString( $value ) +;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: need idiom - compare a number to a string
by davidrw (Prior) on Mar 17, 2006 at 23:00 UTC | |
|
Re: need idiom - compare a number to a string
by brian_d_foy (Abbot) on Mar 18, 2006 at 01:03 UTC | |
|
Re: need idiom - compare a number to a string
by swampyankee (Parson) on Mar 17, 2006 at 23:03 UTC | |
by chromatic (Archbishop) on Mar 17, 2006 at 23:19 UTC | |
by ikegami (Patriarch) on Mar 18, 2006 at 00:08 UTC |