Josh-
I would like to propose a minor change to the 'asp' perl program that
comes with Apache::ASP (in builddir/cgi). When the program runs it
expects to find its configuration file in the same directory. This makes
it awkward to load the config.asp file. The changes below add a '-c
<path>' parameter to the asp program to allow the location of the
configuration file to be specified on the command line. This enables
programs such as cron to more easily launch asp-related programs.
Thanks
John Whitten
[EMAIL PROTECTED]
Wizard.Org, Inc.
<diff file follows>
## dir: Apache-ASP-2.31/cgi
## diff asp asp_ORIG > diff_file
13c13
< getopts('hsdbc:o:p:');
---
> getopts('hsdbo:p:');
29d28
< -c Where to find the config file (asp.config)
59d57
< my $cfgdir = $opt_c || '.';
61c59
< if(-e "$cfgdir/asp.config") {
---
> if(-e 'asp.config') {
63c61
< open(CONFIG, "$cfgdir/asp.config") || die("can't open .asp: $!");
---
> open(CONFIG, 'asp.config') || die("can't open .asp: $!");
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]