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