Build your string outside the call to ->content().
Also, let me recommend that you use a module to build your JSON string, for example JSON::XS.
In reply to Re: How to pass variable in the LWP module
by Corion
in thread How to pass variable in the LWP module
by bhushanQA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |