in reply to Set a variable in calling package

Why? Those needs are considered code smell ... so it would be interesting to know why?

Replies are listed 'Best First'.
Re^2: Set a variable in calling package
by TerryBerry (Novice) on Jan 21, 2018 at 19:25 UTC

    I'm developing a package that gives some cool features to other packages. It's sorta like Moose, it just has a different set of objectives and techniques.

    Yes, I understand that adding a variable to a package is a suspicious thing to do. In this case it makes sense and the programmer using the module would understand that it's happening (if they read the documentation).

      ... the programmer ... would understand ... (if they read the documentation).

      Famous Last Words! :)


      Give a man a fish:  <%-{-{-{-<