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.
In reply to what is this error means Use of uninitialized value $. in concatenation (.) or string by aca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |