PERL   32
First Perl Program
Guest on 26th May 2023 01:01:56 PM


  1. #!/usr/bin/perl
  2. # first.pl
  3.  
  4. print "Content-type: text/html\n\n";
  5.  
  6. print <<"EOF";
  7. <html>
  8.         <head>
  9.                 <style>
  10.                         h1.myclass {
  11.                                 color: green;
  12.                         }                      
  13.                 </style>
  14.                 <title>First Perl Program</title>
  15.         </head>
  16.  
  17.         <body>
  18.                 <h1>Hello,World!</h1>
  19.         </body>
  20. </html>
  21. EOF

Raw Paste

Login or Register to edit or fork this paste. It's free.