SP2 broke at least one script for us due to DTemplateParse moving.
We used to use:
use TeamSite:
TemplateParse;
...
my $parseObject = TeamSite:
TemplateParse->new($workingUser, $Input_Role, $Input_VPath);
Now we need:
use DTemplateParse;
...
my $parseObject = IW_CUSTOM:
TemplateParse->new($workingUser, $Input_Role, $Input_VPath);
perldoc DTemplateParse shows:
SYNOPSIS
use IW_CUSTOM:
TemplateParse;
# Get the location of the templating.cfg file
use TeamSite::Config;
my ($iw_home, $cfg_file);
$iw_home = TeamSite::Config::iwgethome();
$cfg_file = "$iw_home/local/config/templating.cfg";
# Parse the templating.cfg file and get results in $cats_ref
my ($cats_ref, $p1, $ret, $user_name, $user_role);
$user_name = 'adaswani';
$user_role = 'master';
$branch_path = '/.iwmnt/default/main/br2';
$p1 = IW_CUSTOM:
TemplateParse->new($user_name, $user_role, $branch_path);
$ret = $p1->parse_template($cfg_file, \$cats_ref);
if ($ret) {
print "An error, $ret, occured while parsing the configuration file $cfg_file";
}
I don't have "IW_CUSTOM" anywhere that I can find. Hence the "use IW_CUSTOM:

TemplateParse" fails.
Can anybody enlighten me and/or correct me on the correct way to use this now?