PeteF
06-08-2006, 03:41 PM
I'm programming in PERL using the Open Perl IDE app for editing and testing
my code. I forgot how to setup the environmnet so that I can pass some
parameters to the program under test.
The manual is not so good....
http://open-perl-ide.sourceforge.net/documentation/user-manual/usermanual.html
Below is a simple program I'm trying to test.
PERL IDE has a "Start Parameter" option and
I tried entering... myname=pete
but that doesn't work.
====================================
#!/usr/bin/perl -w
use CGI qw(:standard);
use strict;
$passed=param(myname)
print header;
print "<B>Testing script...</B>";
print $passed
====================================
Do we have any PERL programmers in here?
---pete---
my code. I forgot how to setup the environmnet so that I can pass some
parameters to the program under test.
The manual is not so good....
http://open-perl-ide.sourceforge.net/documentation/user-manual/usermanual.html
Below is a simple program I'm trying to test.
PERL IDE has a "Start Parameter" option and
I tried entering... myname=pete
but that doesn't work.
====================================
#!/usr/bin/perl -w
use CGI qw(:standard);
use strict;
$passed=param(myname)
print header;
print "<B>Testing script...</B>";
print $passed
====================================
Do we have any PERL programmers in here?
---pete---