Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Using HTML::TreeBuilder to change the DOCTYPE declaration

by wfsp (Abbot)
on Nov 04, 2008 at 10:40 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-20 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found