Re: A ghost in the machine?

2010-01-14 Thread Eric Howe
ckage MyConfig; >>> >>> use strict; >>> use Exporter; >>> use vars qw(@ISA @EXPORT %CFG ); >>> use ClientConf; >>> @ISA = qw(Exporter); >>> @EXPORT = qw(%CFG &cfg); >>> >>> %CFG = { global vars... }; >>> >>> sub cfg { >>> my $CFG{$clientID} = new ClientConf; >>> return $CFG{$clientID}; >>> } >>> 1; >>> >>> >>> Under normal PERL $vars->{config} is a MyConfig object. Under mod_perl >>> nothing is returned. Debugging with "print" statements in &cfg shows me >>> that "ref $CFG{$clientID}" is ClientConf, the object is there, but upon >>> return it just disappears. >>> >>> I have other functions which "return new MyUser()" and these work >>> perfectly, so I'm thinking that the problem lies with the global variable >>> "$CFG" and that something which I think should be happening is NOT >>> happening. >>> >>> I'm flummoxed... >>> >>> Thank-you for any insights! >>> >>> Tosh >>> > > -- > McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/ Eric Howe e...@pieinsky.ca

Re: Any success with storing photos in a database? (prevents double-submits)

2008-10-15 Thread Eric Howe
ff. $('form').submit(function() { $(this).find(':submit').click(returnFalse); return true; }); }); I don't use the 'disabled' attribute as that prevents the browser (at least some of them) from sendi