Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
.tpl environment
bradkagawa
does anyone have a comprehensive list of what environment variables are available from within Perl script inside a PT? Does a PT know it's own file name and location? The full path of the DCR it is using? The WA or Branch it is in?
Thanks!
Brad
Find more posts tagged with
Comments
tvaughan
Hi,
Within a TPL, you can use to "switch in" to a perl scripting area, where commands such as:
my $dcrName = iwpt_get_dcr_name();
my $path = $ENV{"PWD"};
. . . .and so on.
You can just iterate over all the environment variable's keys to see what's available to you and consult documentation for IW specific features, like that iwpt_get_dcr_name();
Tom