hi,I indeed find that without /.iwmnt or /iwmnt, the command line works. However, in my tpl I have declared $wa like this:$output_file=~ s/(.*\/WORKAREA\/content)(.*)/$2/;$wa = $1;cheers!!
How about $wa=s|/\.iwmnt||;
...use TeamSite::Config;my $iwmount = TeamSite::Config::iwgetmount();my $cgimount = TeamSite::Config::iwgetlocation('iwcgimount');...$output_file=~ s{^(?:$iwmount|$cgimount|)(.*/WORKAREA/content)(.*)}{$2};$wa = $1;...
However, there is issue that TeamSite still cannot set the metadata string for $asso_files on the form.
I put the regex into action, but it does not work for me. I put parts of it through the regex validator on the support website:https://support.interwoven.com/tools/scripts/regex/RegexValidator.asp and I am not sure about the ?: part of the regex. $2 and its representation is valid.iwpt_compile.ipl returns:"Bareword found where operator expected at (eval 35) line 76, near "/iwmnt/ICP" (Missing operator before ICP?)does ?: not indicate a logical drive on windows? I am on solaris (-:cheers Fish!
(?:...)