Dr.Ruud wrote: > Rob Dixon schreef: > >> - Forcing a conversion to a string or a numeric is easy in Perl, using >> >> $val.'' >> or >> $val+0 >> >> respectively. > > For my needs (which includes mod_perl) this is not complete. Having all > three personalities IOK/NOK/POK active at the same time before forking, > saves memory. > (with mod_perl a variable doesn't stay shared (between forked off > processes) if any of its guts gets changed) > > I am considering a pragma 'deepinit' that enforces this.
Ah I see. So even though the space for all three data types is already reserved the structure will be duplicated if they are changed after the fork. Sounds ok as long as your variables aren't very variable :) Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/