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 reply to Re^2: Distiguishing arguments: number-strings vs real integer
by LanX
in thread Distiguishing arguments: number-strings vs real integer
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |