in reply to Re^2: Using require in a module and alongside that module in a program
in thread Using require in a module and alongside that module in a program
There are a number of drawbacks to this approach; for example, if your subs from subs.pl use closures, there will be no relationship between the variables wrapped in main and in Modis::ParseMe. Thus, if you are talking about a long term solution, you want use an Exporter.
|
|---|