in reply to Re: Distiguishing arguments: number-strings vs real integer
in thread Distiguishing arguments: number-strings vs real integer
> E.g. JSON modules try to detect the fact and keep the nature of numbers and strings,
which solves my issue, thanks! :)
$str=encode_json( [$_[0]] ); does the trick, I only need to check if /^\[".*"\]$/ is matching.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
---|
In Section
Seekers of Perl Wisdom