Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Just want to print "userName"

by Mr. Muskrat (Canon)
on Mar 17, 2004 at 01:36 UTC ( [id://337191]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://337191]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-18 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found