Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Cookies and things...

by benn (Priest)
on Feb 21, 2004 at 15:42 UTC ( #330805=note: print w/ replies, xml ) Need Help??


in reply to Cookies and things...

as for 2 & 3...

2. You're printing a quote-delimited string that itself contains quotes...you could either change the quotes in your string to single ones, like this...
print "<META HTTP-EQUIV='Refresh' CONTENT='whatever'>"
or escape the double quotes thus...
print "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"etc.">";
or change the delimiters...
print '<META HTTP-EQUIV="Refresh" CONTENT="etc.">';
or use a "HEREDOC"...

print << "HERE"; <META HTTP-EQUIV="Refresh" CONTENT="stuff"> HERE
3. You could either read in a "straight" html file and print it back out again, or check out one of the templating modules such as HTML::Template. Both methods would allow you to play with your HTML layout in dreamweaver (although personally, I prefer / would recommend writing HTML simply in a text editor).

Cheers,
Ben.


Comment on Re: Cookies and things...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-07-04 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls