Hi Jethro - Because these are defined as statics:
>From Radius/Radius.pm: # These are the well known radius attribute numbers that we use # We have these here so we can change the dictioanry to # be anything we like $Radius::Radius::USER_NAME = 1; ….. regards Hugh On 20 Mar 2013, at 09:50, Jethro R Binks <jethro.bi...@strath.ac.uk> wrote: > On Mon, 18 Mar 2013, Heikki Vatiainen wrote: > >>> my $username = >>> $p->getAttrByNum($Radius::Radius::User-Name); >> >> use $Radius::Radius::USER_NAME instead > > Heikki, > > I am curious to know why your method is preferable? > > Jethro. > > . . . . . . . . . . . . . . . . . . . . . . . . . > Jethro R Binks, Network Manager, > Information Services Directorate, University Of Strathclyde, Glasgow, UK > > The University of Strathclyde is a charitable body, registered in > Scotland, number SC015263. > _______________________________________________ > radiator mailing list > radiator@open.com.au > http://www.open.com.au/mailman/listinfo/radiator -- Hugh Irvine h...@open.com.au Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc. _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator