[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [PATCH lib/lib.pm 5.005_63] Removing use of vars.pm
>Also, our() might not be the right thing.  Sometimes, use vars is the right
>thing, if you have multiple packages in a file and don't want to share.
use vars and our() both allow you to refer to a package variable
without its package component.  But how is it that use vars somehow
helps you in multiple packages?  That sounds like importing.
--tom
- Follow-Ups from:
 - 
Michael G Schwern <schwern@pobox.com>
 
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]