Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: read a file and insert closing tags if not present

by gopalr (Priest)
on Mar 29, 2007 at 10:36 UTC ( [id://607196]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $sgml = <<SGML;
    <html>
    ...
    print "\n\n";
    print "\nOutput:\n$sgml\n";
    print "\n\n";
    
  2. or download this
    <html>
    <greeting class="simple">Hello, world!<head>heading</head>
    </html>
    
  3. or download this
    <html>
    <greeting class="simple">Hello, world!</greeting><head>heading</head>
    </html>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://607196]
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: (4)
As of 2024-04-19 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found