Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 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).


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://330805]
[stevieb]: I *finally* have my automated RPi::WiringPi and related distribution automated test build system done! It's easy to use (relatively), simple to set up, and works awesome! Cycles every X mins, checks github for new commits, and builds...
[stevieb]: ...optionally displaying the results to a connected LCD with the dist name, date, time and commit of the last run along with a FAIL/PASS. Obviously I can't get CI with Travis for a RPi, so I built my own :) It'll take a couple of blog posts I think...
[stevieb]: cover it all. Awesome thing is that you can dispatch ANY distribution to it (and include all revdeps if desired), and it works all the same as if I'm just testing the RPI code itself
[stevieb]: I'm rather pleased with myself and everything I've leared along this arduous and sometimes frustrating path
[stevieb]: Just need to implement an email plugin or something so I can get alerted remotely if the status of a build has changed from the last run
[stevieb]: Because of the extreme complexity of the testing code itself, I implemented extensive logging so I can troubleshoot much easier by setting a high debug level.
[stevieb]: if you're interested in the test/build backend, have a look at Test::BrewBuild.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2017-04-28 21:47 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (529 votes). Check out past polls.