I just figured it out, any idea why it will work just fine without "use
DBD:Proxy" but requires it after compilation?

Thanks again,
Jason



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
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to