in reply to Underscore in scalar name not in main package

if you preface a scalar variable name with an underscore it will by default be in the main package

If you preface a variable name with an apostrophe ($'var) or two colons ($::var) it WILL be in the main package.

Naked blocks are fun! -- Randal L. Schwartz, Perl hacker
  • Comment on Re: Underscore in scalar name not in main package