Hi,Can some one suggest how can i capture datatype name into a perl variable I tried doing in the following way.#!D:/Interwoven/TeamSite/iw-perl/bin/iwperluse strict;use warnings;my $cat = "";$cat = $IW_DCT =~ m/datatype/i ;if($cat eq "false") { print qq[Language ]; } else { print qq[Language ]; }and I am giving this ipl in inlinecommad of the DCTBut it gave me a error Global Symbol $iw_dct rewuires a explicit package at y:/default/main/safari/templatedata/scripts/valid.ipl and Execution of y:/default/main/safari/templatedata/scripts/valid.ipl due to compilation errors.Can someone What package should i use?
Hi,Can some one suggest how can i capture datatype name into a perl variable I tried doing in the following way.[html]#!D:/Interwoven/TeamSite/iw-perl/bin/iwperluse strict;use warnings;my $cat = "";$cat = $IW_DCT =~ m/datatype/i ;if($cat eq "false") { print qq[Language ];}else { print qq[Language ];}[/html]and I am giving this ipl in inlinecommad of the DCTBut it gave me a error Global Symbol $iw_dct rewuires a explicit package at y:/default/main/safari/templatedata/scripts/valid.ipl and Execution of y:/default/main/safari/templatedata/scripts/valid.ipl due to compilation errors.Can someone What package should i use?