To Reference or not to reference
- From: don.dukelow@xxxxxx (Don Dukelow)
- Date: Thu, 29 Mar 2007 12:51:24 -0000
I've written a Perl program that declares a hash at the top of the
program "%myHask;". It has worked great until now when one sub program
seams to be making its own copy of the hash. I can find no typo's or
anything but there my still be one there. My question is would it be
better to pass the global hash by reference to each sub program to cut
down on possible typo errors or just leave it global and fix the problem
I have?
Don Dukelow
.
- Follow-Ups:
- Re: To Reference or not to reference
- From: Alexei A. Frounze
- Re: To Reference or not to reference
- From: Beginner
- Re: To Reference or not to reference
- From: Chas Owens
- Re: To Reference or not to reference
- Prev by Date: XML parsing REST responses
- Next by Date: Re: To Reference or not to reference
- Previous by thread: XML parsing REST responses
- Next by thread: Re: To Reference or not to reference
- Index(es):
Relevant Pages
|
|