Problems? Is your data what you think it is? | |
PerlMonks |
(d4vis)Re: Perl is a black diamond language?by d4vis (Chaplain) |
on Nov 29, 2000 at 23:22 UTC ( [id://43983]=note: print w/replies, xml ) | Need Help?? |
My boss came to me yesterday and asked if he knew of a way to 'clean up' the passwd file on our mail server. He basically just wanted a list of all the email accounts. I said 'no problem' and whipped up a quick script to sort alphabetically, pull just the username and Name fields, and ignore the system-level accounts. As an added bonus I gave him a list of all accounts that had bad group ID's or bad comment fields and made it all look purty with format.
It took me about 20 minutes. This is the reason sysadmins like me use Perl. I am almost the platonic form of the "casual programmer". I may never build anything over 50 lines in my entire career, but Perl saves me time and effort every single day. I think Perl just excels as a tool for the casual programmer.
~monk d4vis
In Section
Meditations
|
|