in reply to Re^7: OUR declaration
in thread OUR declaration
If you think my variables are freed, you're wrong. Neither the variable (on the pad) nor the SV assigned to it are freed at the end of the function.
Are you really saying you don't think passing variables to subs is a cleaner solution?
I agree that the number of global variables should be limited, and I find few reason to use them. However, the author thought it acceptable and/or desirable for $q to be a global variable, so I just pointed out a way to make that possible.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: OUR declaration
by perrin (Chancellor) on Sep 25, 2006 at 16:43 UTC | |
by ikegami (Patriarch) on Sep 25, 2006 at 16:56 UTC | |
by perrin (Chancellor) on Sep 25, 2006 at 17:49 UTC |