logo       

I can't believe this is a bug!!!: msg#00163

web.mason.user

Subject: I can't believe this is a bug!!!

I've these two (simple) scripts

test1.mpl
=========
<%init>
print &hello;
</%init>

<%perl>
sub hello {
return 'hello';
}
</%perl>

test2.mpl
=========
<%init>
print &hello;
</%init>

<%perl>
sub hello {
return 'ciao (hello in italian language:)';
}
</%perl>

By opening them in the browser, after a few reload, it happens that calling
test1.mpl sometimes returns "hello", sometimes returns "ciao".
The same thing happens with test2.mpl that sometimes returns "ciao",
sometimes returns "hello".

It seems like if the "hello" subroutine is globally cached by every http
process and in fact all works fine if "code_cache_max_size" is set to 0.

Is this a bug, a feature or you can't reproduce it?

Using Mason 1.22

Bye


------------------------------------------------------------
+ Dott. Bruni Emiliano - Graduated in Physics +
------------------------------------------------------------
+ Cisco Certificated Designer Associate +
+ Software developer & Network Administrator +
+ Nick Handle: EB1346-RIPE BE1484 ICQ: #16774468 +
+ E-Mail: bruni@xxxxxxxx +
+ Web: http://www.ebruni.it +
+----------------------------------------------------------+

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 04/08/2003




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise