Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Non-CGI perl scripts on a web server?

by Your Mother (Archbishop)
on Feb 24, 2015 at 01:25 UTC ( [id://1117616]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Non-CGI perl scripts on a web server?
in thread Non-CGI perl scripts on a web server?

And at least a few more ways of which I don’t doubt mr_mischief was aware. :P

~>perl -MCGI -e 'print CGI->header' Content-Type: text/html ~>perl -MCGI -e 'print CGI->header("text/plain")' Content-Type: text/plain ~>perl -MCGI=:standard -e 'print header("text/plain; charset=UTF-8")' Content-Type: text/plain; charset=UTF-8

(Update: chopped p rint fixed.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-24 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found