Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: printing out users without home directories

by syphilis (Archbishop)
on May 16, 2018 at 08:24 UTC ( [id://1214616]=note: print w/replies, xml ) Need Help??


in reply to Re^2: printing out users without home directories
in thread printing out users without home directories

... that won't work, since $_ contains the entire line from the entry

Yes, the wording of the OP's initial post led me to believe that his @passwd_entries contained nothing but a list of the usernames - though, of course, the OP didn't exactly specify that was the case.

Cheers,
Rob
  • Comment on Re^3: printing out users without home directories

Log In?
Username:
Password:

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

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

    No recent polls found