NAME

Data::Toolkit::Connector

DESCRIPTION

Base class for objects that connect to data sources

SYNOPSIS

DEPENDENCIES

Carp
Clone
Data::Dumper

Constructor

new

my $map = Data::Toolkit::Connector->new();

Creates an object of type Data::Toolkit::Connector

Methods

Debugging methods

debug

Set and/or get the debug level for Data::Toolkit::Connector

my $currentDebugLevel = Data::Toolkit::Connector->debug();
my $newDebugLevel = Data::Toolkit::Connector->debug(1);

Any non-zero debug level causes the module to print copious debugging information.

Note that this is a package method, not an object method. It should always be called exactly as shown above.

All debug information is reported using "carp" from the Carp module, so if you want a full stack backtrace included you can run your program like this:

perl -MCarp=verbose myProg

Author

Andrew Findlay

Skills 1st Ltd

andrew.findlay@skills-1st.co.uk

http://www.skills-1st.co.uk/