Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I experience the following problem when using strict with perl 5.6 and aspRight, so are you using PerlScript or Apache::ASP?
it complains about built in windows objects like $request and $session variables not being declared in my existing code, I know they exist because they are objects in iis and I can read their values without a problemOk, you're using PerlScript. How does it complain?; tell us the exact errors you're getting. How did you verify those objects exist? Because you tested with another language? What aren't you telling us about your application setup?
I tried using the asp module but it still complains has anyone encountered this problem before?I'm not sure about PerlScript, but with Apache::ASP you need to use the capitalised object names (eg: $Request, $Response, $Application, etc). Perl is a case-sensitive language (unlike VBScript).
I really need strict as I am a beginnerAbsolutely... unless you've got a really good reason to turn off the 'strict' and 'warnings' pragams, always use them. And if you already know a reason, it's wrong ;) -David In reply to Re: problem with strict in perl 5.6 and asp
by erroneousBollock
|
|