in reply to Data from a Hash/Array
Please search cpan.org for a module suitable to interpret the the return type.
That will allow you to reference the variable desired easily.
If this is a test situation, you can use a regex like:
my ($prodid) = $code=~/"ProductId": "([^"]+)"/;
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Data from a Hash/Array
by toolic (Bishop) on Sep 05, 2012 at 20:01 UTC |