I have a number of functions in a program I'm writing that return a reference to an array or hash. In the functions, I declare the variable to return with 'my' which I'm finding out is bad. Should I declare variables to return from a function with 'our'? Do I need to make sure I don't have conflicting variable names from other functions? What pitfalls do I need to know about when doing this?

--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to