in reply to Equality checking for strings AND numbers
$string = to_string($string) unless is_string($string); (pulled from http://search.cpan.org/~dwheeler/Data-Types-0.06/lib/Data/Types.pm)
I am new to this so this is just a thought.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Equality checking for strings AND numbers
by mjscott2702 (Pilgrim) on Jul 15, 2007 at 23:41 UTC | |
by Anonymous Monk on Jul 16, 2007 at 03:00 UTC | |
by DrHyde (Prior) on Jul 17, 2007 at 09:31 UTC | |
by Anonymous Monk on Jul 17, 2007 at 12:05 UTC |