PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Terrence Brannon <schemelab at gmail dot com>
Subject: Re: Sybase::Simple - use database should be an option to the constructor?
Date: Oct 20 2009 6:38PM

On Tue, Oct 20, 2009 at 1:52 PM, Terrence Brannon  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);