Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Create HTML files using perl on the fly

by ww (Archbishop)
on Nov 20, 2007 at 03:19 UTC ( [id://651845]=note: print w/replies, xml ) Need Help??


in reply to Create HTML files using perl on the fly

Not to be cruel, but:
  1. Code does not compile:
    perl -c sKore.pl
    syntax error at sKore.pl line 26, near ")
    {"
    sKore.pl had compilation errors.
  2. test in 26 needs to be "eq" and not "=="
  3. HTML is non-compliant
    • No <body> and </body> tags (required)
    • </html> tag appears before the intended bodycontent
    • Unquoted attributes (W30L for example)
    • Lacks a <!DOCTYPE ...and much more

But really more-to-the-point: what does this one-off code do to make life easier? AFAICS, nada.

By contrast, HTML:Template, MASON, and friends may actually be helpful to you. They'll certainly be worth the time you spend studying them... though perhaps only after you master html.

Update Formating, changed from <c>...</c> to <blockquote... around compilation error, etc.
  • Comment on Re: Create HTML files using perl on the fly

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-24 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found