From: "Weir, Jason - Contractor" <[EMAIL PROTECTED]>
> Thanks everyone for the quick responses regarding the SQL datetime field
>
> I have a second problem, the code below works fine when used as a script but
> when I compile it with perlapp, the DBI stuff no longer functions. Anybody
> have any idea why?
>
>
> Thanks again
> Jason Weir
>
>
> use DBI;
>
> $dbh =
> DBI->connect("dbi:Proxy:hostname=$Domain{DBProxy};port=$Domain{DBPort};dsn=d
> bi:ODBC:$Domain{DB}", "$Domain{DBUser}", "$Domain{DBPasswd}") || return;
Compile it with
perlapp -add=DBD::Proxy ...
Whenever you use DBI->connect("dbi:Something:...") you have to
tell perlapp to add DBD::Something module.
Jenda
=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
--- me
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs