Hi Chuck --
>I find myself developing on Win2K. Such is life. I'm having issues with
>CGI::Application, which I installed via activestate's ppm tool.
>
>(# $Id: Application.pm,v 1.10 2000/07/18 21:04:46 jesse Exp $)
Version "1.10" is my CVS version -- not the CGI::Application version. From
my CVS logs, it looks like v1.10 translates into CGI-App version 1.2 -- a
really old version.
It seems Active State is distributing a version from July 2000. The latest
CGI-App version (v 2.1) was released August 2001. Definitely upgrade! (And
please email ActiveState to urge them to upgrade their distribution.)
>And under: Win2K,ActiveState Perl 5.6.1 Build 629, Apache 1.3 win32.
Should not be a problem. CGI::App works great on Windows (even IIS).
>1. In sub setup, all run-modes must be defined as follows:
[snip]
>or it fails due to problems with the strict pragam and symbolic refs to
>subs. No big deal, easy work around, but the second is a big deal to me.
Show me what is not working (example of code which fails) and I'll see if
there's a simple explanation. From what you're explained so far, my guess
is that this is a result of the old version. If you're trying to do this:
$self->run_modes('my_mode' => 'my_sub_name');
...this will not work with version 1.2. Symbolic run-mode method values
(as opposed to sub-refs) were introduced with version 1.3. Prior to 1.3,
only sub-refs could be used.
>2. I can't use strict in my application module. Man I hate this. All
>manner of mischief happens without strict's shield of virtue [:)]
I love strict mode and use it in all my CGI-Apps! I expect that this is
related to the first problem. CGI-App has been "strict-safe" since the very
first version.
Hope this helps you!
Warmest regards,
-Jesse-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]