[cgiapp] add_callback problem when using Plugin::JSON
kropotkin
enquiries at mms-oxford.com
Thu Jan 29 10:13:12 EST 2009
Hi
I get this message when trying to use Plugin:JSON. Can anyone advise?
Can't locate object method "add_callback" via package "MyPackage" at
/usr/lib/perl5/site_perl/5.8.8/CGI/Application/Plugin/JSON.pm line 232
This is my code:
use CGI::Application::Plugin::JSON ':all';
$JSON::Any::UTF8 = 1;
return $self->json_body({text => 'test', fail => (my $filefail ?
'fail' : 'ok')});
Thanks
Kropotkin
--
View this message in context: http://www.nabble.com/add_callback-problem-when-using-Plugin%3A%3AJSON-tp21728780p21728780.html
Sent from the cgiapp at lists.openlib.org mailing list archive at Nabble.com.
More information about the cgiapp
mailing list