Menu

New Downloads

BitRecover TIFF Viewer 2.2
Published: 17 September, 2019 09:26
You need to open a .TIFF file (tagged image file format)....

First Person Shooter Games Pack 1.81
Published: 17 September, 2019 09:19
A set of three first-person shooter games - Zombie...

Cyclonis Password Manager 1.4.0.86
Published: 16 September, 2019 12:27
With Cyclonis Password Manager, you can manage, organize...

Checksum Aide 64 Bit 1.1.0.0
Published: 15 September, 2019 09:27
A desktop utility used to generate up to 11 different...

PDF Separator 3.2
Published: 14 September, 2019 10:14
This program allows you to split PDF file onto several...

TinyWall 2.1.11
Published: 14 September, 2019 10:03
TinyWall hardens and controls the firewall built into...

EntityDAC Express 2.2
Published: 12 September, 2019 11:59
EntityDAC Express is a free Delphi ORM with LINQ support....

New Reviews

Aquarium Lab 2012.0.2   (Usha)
My aquarium water condition is being monitored by this...

TextSeek (Mac) 2.5.1583   (Zesi_Tom)
Deep indexing of desktop computer's documents is...

RPM Remote Print Manager Elite 32 Bit 6.1.0.439   (tintin)
Takes care of any printing job to be converted and saved...

Nutrigenic Helper 1.0   (Simsiak)
As a dietician I use this software to plan a nutrient...

Radmin 3.5.2.1   (Jefferson)
Can control the computers from distance location even if...

JavaScript Diagram 3.3.3   (Xeviers)
Lots of flow diagrams can be drawn in short time with...

WarpPro 1.0   (Rownok)
Reproduces any record after fixing the timing error of...

HueScope Separator 1.0   (Kislu)
Separates the colors from an watercolor image which is...

ERD Concepts 8.0   (Tintin)
For backend database design it is the perfect one, manual...

MindView 7.0.15506   (Zerin)
Can easily note down any new ideas or plans for future...

Popular Downloads

FreeCommander 2009.02b  (6244)
Released: 08 November, 2011
FreeCommander is an advanced file manager program. It can...

AbiWord 2.8.6  (1825)
Released: 05 December, 2011
AbiWord is a free word processor for all major operating...

TestDisk and PhotoRec 6.14  (2855)
Released: 24 October, 2012
TestDisk is a powerful free data recovery software!

NetBeans IDE 7.4  (1073)
Released: 02 December, 2013
Free and open source IDE for programmers in almost all...

Safari for Windows 5.1.7  (4001)
Released: 04 December, 2013
Experience the fastest web browsing in your windows PC...

GeekUninstaller 1.1.1.21  (1395)
Released: 08 December, 2013
GeekUninstaller is a free small sized uninstaller program...

SeaMonkey 2.23  (1602)
Released: 07 January, 2014
Advanced Internet user, web developer and corporate...

Ahnenblatt 2.74  (94)
Released: 15 November, 2012
Ahnenblatt is a free and easy-to-use genealogy software...

 

User::pwent 5.8.8

Downloads: 6 License: Freeware
Views: 445 Size: 12.2 MB
Date Released: 26 October, 2010


 Security code
Author: Tom Christiansen

User::pwent is a Perl interface getpw*() functions. SYNOPSIS use User::pwent; $pw = getpwnam(daemon) || die "No daemon user"; if ( $pw->uid == 1 && $pw->dir =~ m#^/(bin|tmp)?z#s ) { print "gid 1 on root dir"; } $real_shell = $pw->shell || /bin/sh; for (($fullname, $office, $workphone, $homephone) = split /s*,s*/, $pw->gecos) { s/&/ucfirst(lc($pw->name))/ge; } use User::pwent qw(:FIELDS); getpwnam(daemon) || die "No daemon user"; if ( $pw_uid == 1 && $pw_dir =~ m#^/(bin|tmp)?z#s ) { print "gid 1 on root dir"; } $pw = getpw($whoever); use User::pwent qw/:DEFAULT pw_has/; if (pw_has(qw[gecos expire quota])) { .... } if (pw_has("name uid gid passwd")) { .... } print "Your struct pwd has: ", scalar pw_has(), "n"; This modules default exports override the core getpwent(), getpwuid(), and getpwnam() functions, replacing them with versions that return User::pwent objects. This object has methods that return the similarly named structure field name from the Cs passwd structure from pwd.h, stripped of their leading "pw_" parts, namely name, passwd, uid, gid, change, age, quota, comment, class, gecos, dir, shell, and expire. The passwd, gecos, and shell fields are tainted when running in taint mode. 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 pw_ in front their method names. Thus, $passwd_obj->shell corresponds to $pw_shell if you import the fields. 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. The built-ins are always still available via the CORE:: pseudo-package..


Platform: Linux

Latest software from Tom Christiansen

  • User::grent 5.8.8 - User::grent is an interface to Perls built-in getgr*() functions.
  • User::pwent 5.8.8 - User::pwent is a Perl interface getpw*() functions. SYNOPSIS use User::pwent; $pw = getpwnam(daemon) || die "No daemon user"; if ( $pw->uid == 1 && $pw->dir =~ m#^/(bin|tmp)?
  • PDL::Pod::Html 1.99989 - PDL::Pod::Html is Perl module to convert pod files to HTML. SYNOPSIS use PDL::Pod::Html; pod2html([options]); Converts files from pod format (see perlpod) to HTML format.
  • perltoot 5.8.8 - perltoot is Toms object-oriented tutorial for perl. Object-oriented programming is a big seller these days. Some managers would rather have objects than sliced bread. Why is that? Whats so special about an object? Just what is an object anyway?

Statement: 
Download Collection.com periodically updates software information of User::pwent from the publisher Tom Christiansen. You can visit publisher website by clicking Homepage link. Software piracy is theft. Using User::pwent crack, key, serial numbers, registration codes is illegal. The download file hosted at publisher website. We do not provide any download link points to Rapidshare, Hotfile, Depositfiles, Mediafire, Filefactory, etc. or obtained from file sharing programs such as Limewire, Kazaa, Imesh, Ares, BearShare, BitTorrent, WinMX etc.

User Reviews of User::pwent

- required fields
     

Please enter text on the image

User::pwent Related Downloads

PW , Shell , Passwd , Dir , Name , Uid , Userpwent , User Pwent 5 8 8 , Libraries , Programming

  • Delphinus 3.0.0.3 - Delphinus is a freeware 16-bit image processing software with many powerful filtering algorithms. It also allows you to control your camera exposure time through RS-232 (serial) and LPT (parallel) port.
  • Folder Color Icon Set 1.0 - Folder Color icon set is a must-have for any computer user who has lots of folders and would like to organize them for faster search and quick retrieval.
  • ShellEnhancer 3.0.0.91 - ShellEnhancer is an application designed to enhance the default shell of Windows and to make your life easier.
  • Panorado Flyer 1.2 - Panorado Flyer is a simple geocoding tool for linking JPEG image files to the location where the picture was taken, using precise geographical coordinates. It can be lauched from the Windows Explorer's context menu.
  • EF Commander Free 6.80 - EF Commander Free for Windows is a file manager for the Windows desktop.If you've ever used and liked Norton Commander, you'll like this dual-windowed program.Multilingual.
  • Folder Marker - Changes Folder Icons 1.4 - Folder Marker is one of those little utilities that once you have it you wonder how you ever did with out it.
  • Keybreeze Basic 2.1 - Keybreeze is a small, command-line toolbar that's only visible when you are using it. You can activate it by pressing a hotkey on your keyboard. Then just type keywords to open files, folders, and websites.
  • User::grent 5.8.8 - User::grent is an interface to Perls built-in getgr*() functions.
  • PDL::Pod::Html 1.99989 - PDL::Pod::Html is Perl module to convert pod files to HTML. SYNOPSIS use PDL::Pod::Html; pod2html([options]); Converts files from pod format (see perlpod) to HTML format.

This category most popular freeware software

User Interfaces , User Rights , User Sessions , User Mode Linux , User Interface Designer , User Interface Net , User Manager For Domains , Real User Monitoring , Single User License , User Defined Functions

  • Free Nokia Video Converter Factory - Free Nokia Video Converter Factory 3.0 is easy, fast, reliable, safe, and loaded with features.It's capable of converting videos of all pop formats like AVI, MPEG, WMV, FLV, MDV, 3GP, MP4, etc .
  • Azhagi - - Azhagi is a program that can transliterate English text into Tamil and vice versa. It can perform various transliterations either within its own interface, or in any version of Microsoft Word.
  • Sony Ericsson Media Manager - Sony Ericsson Media Manager 1.1 is a tool that allows you to enhance your Sony Ericsson phone's capabilities by providing amazing features.
  • DELL Webcam Manager - Dell webcam manager is a utility that lists and let you launch all webcam applications available from creative on your Dell portable, it includes the webcam console ( basic webcam usage), webcam center (basic and advanced usage) or webcam central (re
  • webcam snaps - webcam snaps is a Web cam utility to take snapshots using Web cam. This program is completely written in C. Using vfl and GTK. I hope this utility will be useful for those who wish to handle Web cam under GNU/Linux.
  • ADC Instruments USB Driver - Installing and Uninstalling the ADC Instruments USB Driver. This Software is a device driver that is used to control test and measurement instruments, which are made by ADC Corp., from a PC through a USB interface.
  • HTTP Anti Virus Proxy - HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. HTTP Anti Virus Proxy aims are continuous, non-blocking downloads and smooth scanning of dynamic and password protected HTTP traffic.

Related categories