winbeing has asked for the wisdom of the Perl Monks concerning the following question:
Hello, All
New to Perl..
Just want to print "userName" and current type of User License.
Please, help. Thanks
igor
Perl v5.6.1 for MSWin32===============================================
(@curusers = ars_GetListUser($ctrl, 2)) || die $ars_errstr; for($i = 0; $i < $#curusers ; $i+=2){ $key = $curusers[$i]; $value = $curusers[$i+1]; print "$i : $key : $value\n";} for $i (0 .. $#curusers){ for $value ( keys %{$curusers[$i]}) { print "$i:$value is $curusers[$i]{$value}\n"; } } ============================================================ 0 : HASH(0x1abf184) = HASH(0x256ba30) 0:userName is eprehn 0:licenseType is ARRAY(0x1ab51a8) 0:defaultNotifyMech is 0 0:connectTime is 1079451285 0:emailAddr is 0:currentLicenseType is ARRAY(0x1ab52e0) 0:lastAccess is 1079451886 0:licenseTag is ARRAY(0x1ab51c0)
20040315 Edit by Corion: Added code tags, added formatting
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Just want to print "userName"
by Mr. Muskrat (Canon) on Mar 17, 2004 at 01:36 UTC | |
Re: Just want to print "userName"
by matija (Priest) on Mar 16, 2004 at 21:51 UTC | |
Re: Just want to print "userName"
by iburrell (Chaplain) on Mar 16, 2004 at 21:50 UTC | |
by Anomynous Monk (Scribe) on Mar 17, 2004 at 04:07 UTC | |
Re: Just want to print "userName"
by tcf22 (Priest) on Mar 16, 2004 at 21:57 UTC |
Back to
Seekers of Perl Wisdom