Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Web Headers

by kshay (Beadle)
on Nov 01, 2002 at 19:13 UTC ( #209821=note: print w/replies, xml ) Need Help??


in reply to Web Headers

Why would you need to send the header from within a subroutine that gets called more than once? You're always going to want to return something to the browser no matter what happens, and you're never going to want more than one instance of the header, so why not just print it once within your main script?

--Kevin

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-07-04 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?