in reply to Re^9: json return value
in thread json return value
That worked, but need a slight change...
#!/usr/bin/env perl use strict; use warnings; use CGI; use CGI::Carp('fatalsToBrowser'); use JSON::PP(); my $q = CGI->new; print $q->header(), $q->start_html(-title=>"Hello World"), $q->h2("Hello World"), $q->end_html();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^11: json return value
by poj (Abbot) on Jul 16, 2013 at 14:12 UTC | |
by stenasc (Novice) on Jul 17, 2013 at 07:52 UTC | |
by stenasc (Novice) on Jul 16, 2013 at 14:30 UTC |
In Section
Seekers of Perl Wisdom