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

Using HTML::TreeBuilder to change the DOCTYPE declaration

by wfsp (Abbot)
on Nov 04, 2008 at 10:40 UTC ( #721332=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    <head><title>declaration</title></head>
    <body><p>declaration</p></body>
    </html>
    
  2. or download this
      '_decl' => bless( {
        '_tag' => '~declaration',
        'text' => 'DOCTYPE html PUBLIC "XHTML"'
      }, 'HTML::Element' ),
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://721332]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2020-07-11 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?