Re: Mason 1.33 barring any objections?

jesse <[email protected]> Sun, 21 May 2006 13:59:51 -0400
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
I've actually got one minor thing I'd been meaning to ask about. It's
not serious enough to hold up 1.33, but it'd make me a happy camper to 
fix it.

Lines 98-101 or so of Mason/Compiler/ToObject.pm read:

    if (defined $file && !-f $file) {
            my ($dirname) = dirname($file);
	            if (!-d $dirname) {
			unlink($dirname) if (-e _);


Because of the magical nature of sub _ {}, this causes weird
behaviour when another module defines a sub _.  Is there any particular
reason that code is as it is? 

Best,
jesse


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642