in reply to Re: Fastest way to test membership in a constant set
in thread Fastest way to test membership in a constant set

Why "use vars qw(%IsMember)" instead of my %IsMember or our %IsMember?

-Paul

  • Comment on Re^2: Fastest way to test membership in a constant set

Replies are listed 'Best First'.
Re^3: Fastest way to test membership in a constant set
by Corion (Patriarch) on Jul 26, 2007 at 15:55 UTC

    Because usually, having a global lexical variable is just bad when you need to go around and change it and our basically is a misfeature in my opinion - it doesn't work on 5.005 should the code need to be used on that platform and it doesn't offer any advantage over use vars().