Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by almut (Canon)
on Apr 07, 2010 at 06:59 UTC ( [id://833206]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://833206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found