3 ms·
Out of interest, why do you go to Perl instead of Ruby?
by mogrim 14y ago
Out of interest, why do you go to Perl instead of Ruby?
- protomyth 14y agoFor myself, it is CPAN and documentation.
- lloeki 14y ago1. It's everywhere. By that I mean my code will work everywhere, without much thinking about it being installed, versions, or packages, or whatnot. 2. Ruby is too 'core' and needs too much additionals gizmos to be efficient 3. Ruby is concise and conventional, while implicitness and terseness are idiomatic of Perl 4. I'm no Perl monk but things in my head translate to code structure more easily in Perl for this use case (unix tools, text/binary/file content stream manipulation) 5. Perl strict mode 6. Occasionally, Perl suid support 7. Bonus: performance under Windows, or rather lack thereof for Ruby Mind you, Ruby is extremely apt and I enjoy working with it (especially - but not only - with Rails), but this is more a matter of using the right tool for each problem.