Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: PERL HTML HELP

by blue_cowdawg (Monsignor)
on Oct 19, 2012 at 15:53 UTC ( [id://999960]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w 
    use strict;
    use CGI qw/:all/;
    
    print start_html,p("Hello world"),end_html;
    
  2. or download this
    <!DOCTYPE html
            PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    ...
    </body>
    </html>
    
  3. or download this
    #!/usr/bin/perl -w 
    use strict;
    ...
    
    open FOUT,"> my_html_page.html" or die $!;
    print FOUT start_html,p("Hello world"),end_html;
    
  4. or download this
    #!/usr/bin/perl -w 
    use strict;
    use CGI qw/:all/;
    
    print start_html,p({ style => "color: red;"},"Hello world"),end_html;
    
  5. or download this
    print table({width=>'80%',tr(td({width=>'30%',"thing1"),
                                 td({width=>'60%',"thing2"),
                                 td({width=>'10%',"a really long thing")
                ));
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://999960]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-25 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found