in reply to Re: Problem undefining a variable in a loop using a module causing a list to not empty after use of a subroutine
in thread Problem undefining a variable in a loop using a module causing a list to not empty after use of a subroutine

use lib doesn't make any sense in a module.

Why not?  Would make sense, for example, if the module uses other modules from (other) non-standard library locations...

(I don't know where the modules reside in the OP's case, so I can't tell whether it makes sense here, though.)

  • Comment on Re^2: Problem undefining a variable in a loop using a module causing a list to not empty after use of a subroutine
  • Download Code

Replies are listed 'Best First'.
Re^3: Problem undefining a variable in a loop using a module causing a list to not empty after use of a subroutine
by Anonymous Monk on Apr 07, 2010 at 07:07 UTC
    FWIW, I think use lib is for programs