3 ms·
> trying to grok sed/awk, bash scripting where appropriate.. even perl is sneaking into my head May I suggest that you roll all that into one neat little endea
by kirubakaran 18y ago
> trying to grok sed/awk, bash scripting where appropriate.. even perl is sneaking into my head
May I suggest that you roll all that into one neat little endeavor of learning Python... :)
- SwellJoe 18y agoI've written system administration tools in both Perl and Python. Perl is the better tool for the job (Ruby might be better still, once Unicode and performance are straightened out). My Python code always ended up being significantly longer and slower than the same task written in Perl. Partly due to CPAN (if you can imagine it, there's at least three libraries for it in CPAN), and partly due to the nature of Perl. Perl is like a DSL built for system administration. Sometimes it gets a little clumsy on non-system administration related tasks, but when you're working in Perl's sweet spot of functionality, it's a very nice experience. That said, Perl can be intimidating, because it is such a wide ranging language, and some of its features aren't quite right (references, and the way lists and arrays behave, can be confusing, and they're still a source of confusion for me after years of working with Perl). Python has its own quirks, and though I spent a couple of years working almost exclusively in Python, I didn't find it at all painful to come back to Perl. Ruby, on the other hand, is a language that could probably steal my heart. Between deciding to shutdown my old company and starting up Virtualmin, I was undecided on what to do with myself. I learned some Ruby and tinkered with Ruby on Rails. Loved Ruby instantly. RoR, not as much.
- kirubakaran 18y agoGreat info. Thanks a lot.