Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Unicode in almost any Browser?!?

by OeufMayo (Curate)
on Jan 14, 2001 at 20:25 UTC ( [id://51759]=note: print w/replies, xml ) Need Help??


in reply to Unicode in almost any Browser?!?

Perhaps you should change those nasty lines of

print
and make your code easier to read/maintain by either using "here documents" like this:

print <<"END_OF_HTML"; # double-quotes allows interpolation <html> ... </html> END_OF_HTML

or, better, using CGI.pm features to produce the HTML code for you:

use CGI qw(:standard); print header, h1($some_title), hr; # etc...

You can also use templates modules (HTML-Template, Template-Toolkit,...) to separate your code from your layout

<kbd>--
PerlMonger::Paris(http => 'paris.pm.org');</kbd>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://51759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-24 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found