space_monk has asked for the wisdom of the Perl Monks concerning the following question:
Monks, Nuns and Monkees,
How do I get CGI.pm to output the correct DOCTYPE (and any other HTML 5 specific content) for HTML5. Using the default_dtd doesn't seem to do it. Do I have to roll my own page headers?
I apologise if this question has been asked before, I feel it's so obvious it must have been. My only excuse for putting this question forward is that it's a Friday afternoon, I'm not feeling well and want to go home ;'(
Update: Thanks for all your suggestions. I'm not in a position to install libaries into the proper Perl installation, but I can probably slip one in as a local installation and will be trying this instead...
If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CGI.pm and HTML5
by karlgoethebier (Abbot) on May 03, 2013 at 16:37 UTC | |
Re: CGI.pm and HTML5
by marto (Cardinal) on May 03, 2013 at 16:37 UTC | |
Re: CGI.pm and HTML5
by TomDLux (Vicar) on May 03, 2013 at 17:02 UTC | |
by space_monk (Chaplain) on May 03, 2013 at 17:07 UTC | |
by marto (Cardinal) on May 03, 2013 at 17:13 UTC | |
by space_monk (Chaplain) on May 04, 2013 at 16:21 UTC | |
by derby (Abbot) on May 04, 2013 at 12:04 UTC | |
by space_monk (Chaplain) on May 04, 2013 at 16:07 UTC | |
Re: CGI.pm and HTML5
by Anonymous Monk on May 03, 2013 at 17:44 UTC | |
Re: CGI.pm and HTML5
by sundialsvc4 (Abbot) on May 04, 2013 at 16:08 UTC |
Back to
Seekers of Perl Wisdom