Re: [Bashburn-info] Substantial change to the configure function.
Brought to you by:
bashburn
|
From: Steven W. O. <st...@sy...> - 2008-09-03 14:13:10
|
I wanted to followup to my previous message about sourcing files from within functions. This is sort of a key issue and I'm writing this down as much to hammer it into my own skull as much as to impart my pearls to the rest of the world. If you have a variable that is to be considered a global, i.e., everyone else (or anyone else) may want to reference it, and that variable is being sourced in from a subroutine call, then that variable declaration may not be declared with a typeset statement. If you do then the variable will not be global. Instead, it will end up as local to the function that sourced the file in. -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net |