[Pdx-pm] interesting testing hole thats been dug

Kris Bosland krisb at ring.org
Tue Jan 2 16:23:47 PST 2007


	It looks like you are trying to use a proxy object.  Did you put
your if/else in a begin block to be sure it happens before the use
statement?  Do things work for testing if you hard code the change in the
script?

-Kris

On Tue, 2 Jan 2007, benh wrote:

> redirected? Our inital though was to just set an env var and then when
> the script would run then it would pick the right object, but that
> requires selecting a use statement (ie if($ENV{test}){use DBTest; }
> else {use DBHost;} ) alas that doesn't work.... any other ideas?



More information about the Pdx-pm-list mailing list