function to get dcrpath in perl for interwoven teamsite
sub getDcrPath{
debug("getDCRPATH CALLED");
my $currentDcrName=shift;
debug("dcr path: $currentDcrName");
$currentDcrName=~ s/(.*WORKAREA\/)(.*?\/)/$1$2/;
my $workareaName=$2;
$workareaName=~s/\///g;
#my $dcrPath="$iwmount/default/main/$branchName/$subBranchName/WORKAREA/$workareaName/templatedata/content/Fragments/data/";
debug("WORKAREA ".$workareaName."==".$currentDcrName);
return $workareaName;
}
No comments:
Post a Comment