aca has asked for the wisdom of the Perl Monks concerning the following question:
In the log it is writing like#!/usr/bin/perl use warnings; use strict; use CGI; use CGI::Carp qw(fatalsToBrowser); my $cgi = CGI->new; #print $cgi->redirect(-location=>'test1.cgi'); print $cgi->header( -type=> "text/html" ); print <<EOF; <!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquer +y.min.js"></script> <script> var embeddedVideo = { requestVID : function() { $.ajax({ url:"serve.cgi", success: function () { alert("done"); }, }).fail(function( jqXHR, textStatus, errorThrown ) { console.l +og(textStatus,errorThrown)}); }, }; $(document).ready(function(){ embeddedVideo.requestVID(); }); </script> </head> </html> EOF
Please tell me where it is going wrong.I don't get any useful information relating to this.And i am not sure how to make it working. Any help will be appreciated.Thanks in advanceUse of uninitialized value $. in concatenation (.) or string at /usr/ +lib/cgi-bin/test.cgi line 13.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: what is this error means Use of uninitialized value $. in concatenation (.) or string
by Corion (Patriarch) on Feb 07, 2016 at 09:44 UTC | |
|
Re: what is this error means Use of uninitialized value $. in concatenation (.) or string
by martin (Friar) on Feb 07, 2016 at 10:48 UTC |