Hi Irfan,

On Wed, 10 Jun 2015 18:30:27 +0000 (UTC)
Irfan Sayed <irfan_sayed2...@yahoo.com> wrote:

> Hello,i am writing mail directly to you because i am getting failure
> notification when i am sending mail to beginners

Yes, E-mailing beginners@perl.org has been flaky from here too.

>  DLneed help please. I need
> toparse the json. when i looked at the json perl module, i got one
> exampleonline :
> http://stackoverflow.com/questions/5210523/simple-json-parsing-perl
> 
> 
>  
> I just tried to do the POC and verify on how itworks. i am getting following
> error after running the script. Could not
> get https://graph.facebook.com/?ids=3Dhttp://www.filestube.com! at json.pl
> line 23.
> 
> i am notgetting why 'get' is not being exported even after installing LWP
> through CPAN
> 

'get()' is being exported, just fails to get the result. Perhaps that URL is
blocked or blocks the libwww-perl (LWP) user agent or whatever. Try using
LWP::UserAgent for a more descriptive error.

Furthermore,  you should use JSON::MaybeXS (see
https://metacpan.org/pod/JSON::MaybeXS ) instead of JSON.pm for parsing the
JSON.

Regards,

        Shlomi Fish

> can someone please suggest what could be wrong. iam stuck.
> 
> 
> 
> Regards,
> 
> irfan
> 
> 



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Let’s talk about restores instead of backups - http://is.gd/WatQqu

Chuck Norris read the entire English Wikipedia in 24 hours. Twice.
    — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to