Base class for objects that connect to data sources
Carp Clone Data::Dumper
my $map = Data::Toolkit::Connector->new();
Creates an object of type Data::Toolkit::Connector
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
Skills 1st Ltd