Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Redirect CGI input?

by mfriedman (Monk)
on Jun 24, 2002 at 16:59 UTC ( #176855=note: print w/replies, xml ) Need Help??


in reply to Redirect CGI input?

I think you're looking at this the wrong way. Instead of having your CGI script call your command line program, abstract the logic required to save the data to a seperate module, and create two clients for that module: A command line application and a CGI application.

That way, it doesn't matter how your command line application actually gets the data for testing, just that it passed the data on to the module in the correct form (Say, a hash ref.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2021-06-25 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (135 votes). Check out past polls.

    Notices?