mod_perl variables

2005-08-10 Thread [EMAIL PROTECTED]
Hello Everyone, I have an issue that I am working on. I always ask questions that I have to a forum before writing the list just in case someone in the forum knows the answer. Usually I don't get any responses. I started this thread, http://www.tek-tips.com/viewthread.cfm?qid=1104388&page=1

Re: mod_perl variables

2005-08-10 Thread Boysenberry Payne
It might be that your variable aren't scoped properly. Try: use strict; my $variable or our $variable to keep the variable scoped to the packages they're in. Boysenberry This message contains information that is confidential and proprietary to Humaniteque and / or its affiliates. It is intend

Re: mod_perl variables

2005-08-10 Thread Dan Brian
On Aug 10, 2005, at 11:07 AM, Boysenberry Payne wrote: This message contains information that is confidential and proprietary to Humaniteque and / or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. Pleas

Re: mod_perl variables

2005-08-10 Thread [EMAIL PROTECTED]
Thank you for the response. I am sure going to start using strict. But one thing, why doesn't my example of NOT using strict, my, our, or local ever fail. Shouldn't it confuse the $html var with the value of the $html var in the parent file. Any ideas on what kind of an example will demon

Re: mod_perl variables

2005-08-10 Thread [EMAIL PROTECTED]
Ok, I went to google and did some more searching, this time just about the my var. I wrote this for an example of BAD use of $variable based on the article I found. I believe this demonstrates the coding in my website currently online. lol, which is failing periodically. -

Re: mod_perl variables

2005-08-10 Thread Perrin Harkins
Tony, Your questions about scoping are pretty common ones for beginning Perl users. May I suggest that you pick up a good book, like "Learning Perl"? That will go a long way towards clearing these things up for you. I'd also suggest reading this document: http://perl.apache.org/docs/1.0/guide/p