IHYPRESS.NET
PERL
HOME | ASP | C | CSS | HTML | JAVASCRIPT | PERL | PHP | PYTHON | RUBY | SVG
Earn Free Bitcoin
Perl ❯ First Program
<01>
#!/usr/bin/perl -wT use CGI':standard'; use strict; use CGI::Carp qw(warningsToBrowser fatalsToBrowser); print "Content-type: text/html\n\n"; print "<!DOCTYPE html>"; print "<html><head><title>My first Perl program</title></head>"; print "<body>"; print "<div>This is my first Perl program.</div>"; print "<div style='font-size:1.1em;color:blue;font-family:sans-serif;'>Blue text sans-serif.</div>"; print "<div style='font-weight:bold; color:red;'>Bold red text.</div>"; print "</body></html>";
My first Perl program
This is my first Perl program.
Blue text sans-serif.
Bold red text.
COPYRIGHT © 2015-2024 IHYPRESS.NET. A DIVISION OF IHY PRESS. ALL RIGHTS RESERVED.