in reply to Just want to print "userName"
You really should read the ARSperl Programmer's Manual! ARSperl is well documented and even has examples that would have been of use to you. ars_GetListUser returns an array of hash references. The licenseType key of the referenced hashes is an array reference.
Incomplete and totally untested code follows:
# ... start of code (@curusers = ars_GetListUser($ctrl, 2)) || die $ars_errstr; foreach my $hashref (@curusers) { print "userName: ", $hashref->{userName}, " licenceType: ", @{$hashr +ef->{licenseType}}, "\n"; } # ... rest of the code here
|
|---|