perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Peters <mpet...@plusthree.com>
Subject Re: lexical scoping under mod perl solution
Date Thu, 12 Feb 2009 16:13:55 GMT
Erik Aronesty wrote:
> (A solution would be to force all "my" varialbes at the file scope to
> be "our" and then put the cgi in an anonymous package:)

A file/package-scoped "my" var is not the same thing as an "our" var. One example is that
a "my" var 
can't be seen outside of the package/scope it's in. A package level "our" var can be seen.

-- 
Michael Peters
Plus Three, LP


Mime
View raw message