User::grent 5.8.8
Sponsored Links
User::grent 5.8.8 Ranking & Summary
File size:
12.2 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
927
Date added:
2007-04-10
Publisher:
Tom Christiansen
User::grent 5.8.8 description
User::grent is an interface to Perls built-in getgr*() functions.
SYNOPSIS
use User::grent;
$gr = getgrgid(0) or die "No group zero";
if ( $gr->name eq wheel && @{$gr->members} > 1 ) {
print "gid zero name wheel, with other members";
}
use User::grent qw(:FIELDS);
getgrgid(0) or die "No group zero";
if ( $gr_name eq wheel && @gr_members > 1 ) {
print "gid zero name wheel, with other members";
}
$gr = getgr($whoever);
This modules default exports override the core getgrent(), getgruid(), and getgrnam() functions, replacing them with versions that return "User::grent" objects. This object has methods that return the similarly named structure field name from the Cs passwd structure from grp.h; namely name, passwd, gid, and members (not mem). The first three return scalars, the last an array reference.
You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note that this still overrides your core functions.) Access these fields as variables named with a preceding gr_. Thus, $group_obj->gid() corresponds to $gr_gid if you import the fields. Array references are available as regular array variables, so @{ $group_obj->members() } would be simply @gr_members.
The getpw() function is a simple front-end that forwards a numeric argument to getpwuid() and the rest to getpwnam().
To access this functionality without the core overrides, pass the use an empty import list, and then access function functions with their full qualified names. On the other hand, the built-ins are still available via the CORE:: pseudo-package.
SYNOPSIS
use User::grent;
$gr = getgrgid(0) or die "No group zero";
if ( $gr->name eq wheel && @{$gr->members} > 1 ) {
print "gid zero name wheel, with other members";
}
use User::grent qw(:FIELDS);
getgrgid(0) or die "No group zero";
if ( $gr_name eq wheel && @gr_members > 1 ) {
print "gid zero name wheel, with other members";
}
$gr = getgr($whoever);
This modules default exports override the core getgrent(), getgruid(), and getgrnam() functions, replacing them with versions that return "User::grent" objects. This object has methods that return the similarly named structure field name from the Cs passwd structure from grp.h; namely name, passwd, gid, and members (not mem). The first three return scalars, the last an array reference.
You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note that this still overrides your core functions.) Access these fields as variables named with a preceding gr_. Thus, $group_obj->gid() corresponds to $gr_gid if you import the fields. Array references are available as regular array variables, so @{ $group_obj->members() } would be simply @gr_members.
The getpw() function is a simple front-end that forwards a numeric argument to getpwuid() and the rest to getpwnam().
To access this functionality without the core overrides, pass the use an empty import list, and then access function functions with their full qualified names. On the other hand, the built-ins are still available via the CORE:: pseudo-package.
User::grent 5.8.8 Screenshot
User::grent 5.8.8 Keywords
interface to
functions
gr
members
name
gid
zero
User::grent
Usergrent
User::grent 5.8.8
Libraries
Programming
Bookmark User::grent 5.8.8
User::grent 5.8.8 Copyright
WareSeeker periodically updates pricing and software information of User::grent 5.8.8 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of User::grent 5.8.8 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
members first credit union
functions of money
trigonometric functions
yahoo members
functions of the skin
members 1st federal credit union
functions of the liver
members 1st
members cooperative credit union
functions of public relations
brain functions
members directory
functions math
what are the functions of the liver
obama cabinet members
members of mayday
membersource credit union
membership
Related Software
User::pwent is a Perl interface getpw*() functions. Free Download
Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa is a Perl module to load the C socket.h defines and structure manipulator Free Download
Perl is a high-level, general-purpose programming language. Free Download
perl58delta Perl module contains information about what is new for perl v5.8.0. Free Download
perltoot is Toms object-oriented tutorial for perl. Free Download
B::Terse - Walk Perl syntax tree, printing terse info about ops. Free Download
Fcntl is a Perl module to load the C Fcntl.h defines. Free Download
Search::Dict is a Perl module to search for key in dictionary file. Free Download
Latest Software
Popular Software
Favourite Software