I added this line to my subroutine, which also fixes it: my $Request = $main::Request;
I have been using strict all along, but referring to $Request in a subroutine without fully qualifying it seems to be the problem. That was apparently causing the first $Request to be cached. thanks so much, -dave > As long as all variables in a subroutine are accessing > global variables ( like $main::Response ) or my() > scoped variables, then that subroutine should be able to > be written in a ASP script fine. Moving subs to a real > perl module/package avoids these problems by forcing > variables to be properly scoped during compilation. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
