File: Sybase.pm

package info (click to toggle)
libtangram-perl 2.10-1.1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 1,064 kB
  • ctags: 703
  • sloc: perl: 9,665; makefile: 35
file content (19 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


package Tangram::Driver::Sybase;
use strict;

use Tangram::Driver::Sybase::Storage;

use vars qw(@ISA);
 @ISA = qw( Tangram::Relational );

sub connect {
    my ($pkg, $schema, $cs, $user, $pw, $opts) = @_;
    ${$opts||={}}{driver} = $pkg->new();
    my $storage = Tangram::Driver::Sybase::Storage->connect
	( $schema, $cs, $user, $pw, $opts );
}

1;