in reply to Newbie Question
Ok.
I think I need to clarify some issues here. :o)
The setup is like this:
All the files are on the same server and the same directory.
The file to be executed is 1.pl and it requires a querystring '?' with a filename. 1.pl reads the content and outputs a html-response (its a menu-system).
I want to execute the 1.pl file (with the querystring/argument) from another file, 2.pl and save the response to a textfile.
Sorry for my ignorance, I am a ASP-programmer and dont know too much about perl.