Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Cookies and things...

by benn (Vicar)
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://330805]
help
Chatterbox?
[Eily]: sorry, got interrupted
[Eily]: so he left from Nancy
[Eily]: and my point was, he met some monks yesterday in Italy who offered him a place for the night
[Eily]: and since he was meating eatalian monks I wondered if I should tell him to say hi to Discipulus for me :D
[erix]: Nancy-Bari: 1320 km ... He'll need some time :)
[LanX]: he was "meating" Italian monks oO?
[erix]: then again, there are people who do 10 full triathlons on 10 consecutive days, so it must be doable
choroba's friend has done the Pacific Crest Trail, it's 4200 km

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-12-13 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (369 votes). Check out past polls.

    Notices?