The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DTS_UT::Model::DTS - model implementation for MVC architeture

DESCRIPTION

DTS_UT::Model::DTS is a model of MVC implementation of CGI::Application. It implements all rules related to the DTS packages available in the MS SQL Server referenced in the web application configuration file.

EXPORTS

Nothing.

METHODS

new

Creates and returns a new DTS_UT::Model::DTS object.

Expects as a parameter the complete pathname to a YAML file with the following keys:

1. server
2. use_trusted_connection
3. user
4. password

This is exactly the parameters needed by Win32::SqlServer::DTS::Application class to connect to a MS SQL Server.

read_dts_list

Connect to a MS SQL Server and retrieve the names of all DTS packages available, returning this list as an array reference.

SEE ALSO

AUTHOR

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Alceu Rodrigues de Freitas Junior

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.