SPUG: Can't use an undefined value as an ARRAY reference

Medrano-Zaldivar, L E LMedrano-Zaldivar at ciber.com
Wed May 18 11:39:51 PDT 2005


List,
 
This line of code:
 
 my (@p) = $b->getRecentPosts(numposts=>20);

is giving me this error:
 
Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.8.0/Net/Blogger/API/Core.pm line 199.


where the line 199 is this:

my @posts = ($call) ? (1,@{$call->result()}) : (0,undef);

But I cannot understand why is going on in here. Any idea what is going on in here? or how can I fix this?

Thanks,

Luis

 






More information about the spug-list mailing list