Hi Gothi,Thanks it worked... on My TS 6.7.1my @editorRoles = `$iwhome/bin/iwaccess roles-of-user $branchName -user $currentEditor`;in my CGI script I tried to retrive roles using this stmt.But I can't play around individual role. i.e. accessing each role using for loop seems to give me an error....! where as printing @editorRoles gives me length of valid roles... but retriving individual role seems an errror.Do we need to typecast these CLT returned values?regardsAJ
Do it mean, I have to chomp each array element for use?
Gothi,Still no Success..Am I doing anything wrong here? Please find attachment.regardsAJ
...$Filetocheck =~ s!//(.*)/(.*)/main/(.*)!$iwmount/$2/main/$3!;$branchName = $Filetocheck;$branchName =~ s|/WORKAREA/.*||;my @editorRoles = `$iwhome/bin/iwaccess roles-of-user $branchName -user $currentEditor`;my @foundrole=();@foundrole = chomp(@editorRoles);foundrole);