Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: HTML tags in perl CGI scripts

by rruiz (Monk)
on Nov 14, 2002 at 23:33 UTC ( #213043=note: print w/replies, xml ) Need Help??


in reply to HTML tags in perl CGI scripts

Appart from the comments already made on this question, you may also use q and qq, for example:

print qq{<font face = "courier"> blah blah </font>};

You should use qq if you want the variables on the script to expand, like in:

$name = 'Roberto'; print qq{<font face = "courier"> name = $name </font>};

And q if you don't need variable expansion.

<classical see also> perldoc perlop and search for "Regexp Quote-Like Operators". </classical see also>

God bless you
rruiz

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://213043]
help
Chatterbox?
[shmem]: the biker stopped the machine at the table and took off his helmet.
[shmem]: long white hair, long beard the same, then he proceeded to get off the bike
[shmem]: saying "biking itself isn't that much, but getting up and down - hell!"
[shmem]: up and down: on and off the bike, of course

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-06-25 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (570 votes). Check out past polls.