in reply to Re: grepping out global vars?
in thread grepping out global vars?

Question: Do you have to put the FindGlobals package in the B:: namespace for B::Utils to do its work?

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Replies are listed 'Best First'.
Re^3: grepping out global vars?
by chromatic (Archbishop) on Jan 18, 2005 at 18:01 UTC

    Not for B::Utils; that should work anywhere. You do have to put B::FindGlobals in an appropriate location for O to do its work though. That's the magic -MO=FindGlobals notation.

      Next Question: Do you have to use O in order to get the benefits of B? In other words, would perl -MGlobalFinder script.pl have worked just as well?

      Being right, does not endow the right to be rude; politeness costs nothing.
      Being unknowing, is not the same as being stupid.
      Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
      Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

        Yes, but I think it would have taken a little longer to write. O is mostly a loader for B:: modules, used by convention.