Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Simmulation of cgi scripts, offline.

by arturo (Vicar)
on Sep 28, 2001 at 19:28 UTC ( [id://115411]=note: print w/replies, xml ) Need Help??


in reply to Simmulation of cgi scripts, offline.

You're in luck. CGI.pm is built to allow testing of CGI scripts from the command line. You can save, and load, query objects from files, or you can type in the name-value pairs on the command line. See perldoc CGI on your system and search for "command line" (the default handling changed recently, so I've heard), and read the section "CREATING A NEW QUERY OBJECT FROM AN INPUT FILE" for info on how to load a query from a file.

HTH.

perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth +er_name\n"'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-23 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found