Win32::SqlServer::DTS::TaskFactory - a Perl abstract class to create DTS Package Tasks in a polymorphic way
use Win32::SqlServer::DTS::TaskFactory; # $task is a unknow DTS Task object my $new_task = Win32::SqlServer::DTS::TaskFactory::create($task); print $new_task->to_string, "\n";
Win32::SqlServer::DTS::TaskFactory creates Win32::SqlServer::DTS::Task subclasses objects depending on the type of the DTS Package Task object passed as a reference.
Win32::SqlServer::DTS::TaskFactory
Win32::SqlServer::DTS::Task
Nothing.
Expects a DTSTask object passed as a parameter.
DTSTask
Returns a object from a subclass of Win32::SqlServer::DTS::Task depending on the CustomTaskID property from the Task object passed as a parameter.
CustomTaskID
Task
MSDN on Microsoft website and MS SQL Server 2000 Books Online are a reference about using DTS' object hierarchy, but you will need to convert examples written in VBScript to Perl code.
Win32::SqlServer::DTS::Task and it's subclasses modules at perldoc.
perldoc
Win32::SqlServer::DTS::TaskTypes at perldoc.
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
Copyright (C) 2006 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.
To install Win32::SqlServer::DTS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::SqlServer::DTS
CPAN shell
perl -MCPAN -e shell install Win32::SqlServer::DTS
For more information on module installation, please visit the detailed CPAN module installation guide.