Re: Sybase::Simple - use database should be an option to the constructor?
Terrence Brannon <[email protected]> Tue, 20 Oct 2009 14:38:43 -0400
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 20, 2009 at 1:52 PM, Terrence Brannon <[email protected]> wrote: > According to Mike, choosing a database is a separate step in > Sybase::Simple (which BTW is a godsend module). > > However, I see no reason why it couldnt be an additional argument to new: > > my $syb = Sybase::Simple->new($user, $password, undef, $database); oops, forgot server: my $syb = Sybase::Simple->new($user, $password, $server, $app, $database);