in reply to Re^6: the "our" declaration ?!!
in thread the "our" declaration ?!!

You're forgetting about main, where the our is located

Replies are listed 'Best First'.
Re^8: the "our" declaration ?!!
by LanX (Saint) on Jan 20, 2009 at 23:47 UTC
    But we are talking about refactoring "no strict vars" into "our", IMHO most people would place "no strict vars" into the top scope, if there are multiple packages...

    your rule of a thumb is over-simplified, and is not getting better with additional side-rules for curlies and forbidden nesting...

      Having to counter "It doesn't work if I do something else I shouldn't" is not adding rules or over simplifying. Since proper encapsulation is the basis of programming, I didn't add any rules.