On Thu, Aug 10, 2000 at 10:43:02AM -0400, Bennett Todd wrote: > If the only real problem that can be found with making module use > package-local is in these few option-flag type variables, perhaps > they could be handled differently. E.g. suppose normal package > variables end up being local to the package that "use"-es the > package, and when a package actually wants to make a genuine global > for all users of the package, it explicitly tucks it into a variable > whose name starts with main::. E.g. let Net/FTP.pm post its debug > flag into $main::Net::FTP::Debug, and the list of exception classes > requested of Fatal.pm could be posted into @main::Fatal. And the difference is ? $ perl -e 'warn \$main::fred::x," ",\$fred::x' SCALAR(0x80dc254) SCALAR(0x80dc254) at -e line 1. Graham.
- Re: English language basis for "... Tony Olekshy
- Re: English language basis for "... John Porter
- Re: English language basis for "... John Porter
- Re: English language basis for "... Peter Scott
- Re: English language basis for "... Glenn Linderman
- Re: English language basis for "... John Porter
- Re: English language basis for "... skud
- Re: English language basis for "... Piers Cawley
- Re: English language basis for "... David L. Nicol
- Re: RFC 78 (v1) Improved Module Vers... Chaim Frenkel
- Re: RFC 78 (v1) Improved Module Vers... Graham Barr
- Re: RFC 78 (v1) Improved Module Vers... Bennett Todd
- RFC 78 and shared vs unshared module... Steve Simmons
- Re: RFC 78 and shared vs unshared mo... Bennett Todd
- Re: RFC 78 (v1) Improved Module Versioning And Searching Steve Simmons
- Re: RFC 78 (v1) Improved Module Versioning And Search... Ted Ashton
- Re: RFC 78 (v1) Improved Module Versioning And Se... Steve Simmons
- Re: RFC 78 (v1) Improved Module Versioning An... Ted Ashton
- Re: RFC 78 (v1) Improved Module Versionin... Simply Hao
- Re: RFC 78 (v1) Improved Module Versioning And Search... Bennett Todd
- Re: RFC 78 (v1) Improved Module Versioning And Se... Steve Simmons