Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: parse /etc/passwd and output it as csv in hundred servers

by Your Mother (Archbishop)
on Apr 13, 2018 at 20:45 UTC ( [id://1212832]=note: print w/replies, xml ) Need Help??


in reply to Re^2: parse /etc/passwd and output it as csv in hundred servers
in thread parse /etc/passwd and output it as csv in hundred servers

Same thing hippo did but more idiomatic and less readable. :P

say join ",", "hostname", $user =~ /^([^:]+)/gm;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-03-28 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found