Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Why server error out with module

by keen2learn (Novice)
on Oct 26, 2020 at 14:49 UTC ( #11123186=note: print w/replies, xml ) Need Help??


in reply to Re: Why server error out with module
in thread Why server error out with module

Do you mean this wouldn't be rendered? It is outputted sometimes, between either a 500 page or a software error message regarding failing to find a sub routine.
<!doctype html> <html> <head> <title>$pageTitle</title> </head> <body></body> </html>

Replies are listed 'Best First'.
Re^3: Why server error out with module
by hippo (Chancellor) on Oct 26, 2020 at 15:44 UTC

    My mistake - you are quite right. I had missed the print qq($doctypeAndHeader); line. You don't need to quote a single variable when you print it like that, BTW. print $doctypeAndHeader; will do just as well and might be less confusing.

    So, you should be seeing this on each call. If not, check the webserver error log for the reasons. Good luck!


    🦛

      Thank you for the 'print' advice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2020-12-03 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (49 votes). Check out past polls.

    Notices?