Tim, Thanks for your quick response. It looks like setting via Preferences fits my current needs. I'll just set each of the variables that I wish to emulate and also set STDIN to point to a file on my desktop containing some relevant test data. >The simplest and quickest way is to use hidden fields in your >html FORM, if you are using a form. If not, then you can add >the fields to the GET method with the "?name=value" syntax. >Or, you could read a local file for parameters. Or you can set >environment variables via the Preferences of MacPerl. > >-----Original Message----- >From: Joseph A. DiVerdi [SMTP:diverdi@XTRsystems.com] >Subject: [MacPerl] Delivering ENV variables and standard input > >I am in the process of writing some CGI scripts that ultimately will end >up executing on a UNIX server. However, my local environment is a Mac and >MacPerl (naturally). I would like to perform a level of debugging locally >using MacPerl by supplying the scripts with values for certain >environment variables and with certain standard input both of which would >exist in local files. > >Can anyone advise me on the mechanics of delivering these bits of data to >my scripts in the MacPerl environment? > >Thanks, Joseph A. DiVerdi, Ph.D. 970.221.3982 (voice) 970.224.3723 (fax) diverdi@XTRrsystems.com (email) %PGPKey= ('BB1469AB',[1024,'24DA 2D00 ABB0 D26F 4E14 56C9 0CEF 1053 BB14 69AB']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch