in reply to Re^8: json return value
in thread json return value
I noticed on first line of your cgi that worked you had #!/usr/bin/perl. If this script doesn't work try changing that.#!/usr/bin/env perl use strict; use warnings; use CGI; use CGI::Carp('fatalsToBrowser'); use JSON; 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^10: json return value
by stenasc (Novice) on Jul 16, 2013 at 12:40 UTC | |
by Anonymous Monk on Jul 16, 2013 at 14:13 UTC | |
by stenasc (Novice) on Jul 25, 2013 at 23:51 UTC | |
by Anonymous Monk on Jul 26, 2013 at 02:51 UTC | |
by stenasc (Novice) on Jul 27, 2013 at 11:50 UTC | |
| |
|
Re^10: json return value
by stenasc (Novice) on Jul 16, 2013 at 14:01 UTC | |
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 |