New Perl Document


/ Published in: Perl
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #!/usr/local/bin/perl -wT # force taint checks, and print warnings
  2. use strict; # install all three strictures
  3. use CGI ':standard';
  4. use Data::Dumper;
  5. use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
  6. $|++; # force auto flush of output buffer
  7. print "Content-type: text/html\n\n";
  8.  
  9. # Make Sure you're only using Unix Line Feeds.
  10. print "Hello World";

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.