in reply to Returning array of file names form find using local variables?

Can you spread us more details. the find command is in this function you mentioned? and why you insist on local variable?

Thanks.

Hotshot
  • Comment on Re: Returning array of file names form find using local variables?

Replies are listed 'Best First'.
Re: (Insistence on Local Variables) Returning array of file names form find using local variables?
by buzzcutbuddha (Chaplain) on May 07, 2002 at 12:34 UTC
    Global variables are generally seen as a bad thing, and should be avoided. When you 'use strict;' you must declare all of your local variables with 'my' as discussed in this node.