LWN.net Logo

Shell metacharacters

Shell metacharacters

Posted Jan 27, 2011 23:03 UTC (Thu) by cmccabe (guest, #60281)
In reply to: Shell metacharacters by HelloWorld
Parent article: Domsch: Consistent Network Device Naming coming to Fedora 15

Perl is not a shell. Therefore Perl can never replace the bourne shell.

Bourne shell scripts are still the right choice for SHORT (one or two page length) glue scripts. Once you start needing more, something like Ruby or Python is probably the right choice. Perl was really innovative in its day, but starting new projects in Perl is a terrible idea.


(Log in to post comments)

Shell metacharacters

Posted Feb 23, 2011 18:53 UTC (Wed) by jrockway (subscriber, #71508) [Link]

What's wrong with Perl for new projects? New modern object systems like Moose? 20,000 free distributions on CPAN?

Honestly, people have written bad Perl in the past, but now they are writing bad Python and Ruby too :)

Shell metacharacters

Posted Feb 23, 2011 22:34 UTC (Wed) by nix (subscriber, #2304) [Link]

Honestly, it's much easier to write bad Perl than bad Python. I'm a structure fanatic: my C, Python and Lua is structured as all hell. But I can't make my Perl look neat or structured no matter how hard I try: it disintegrates into a mess regardless.

And I am not the only person this is true of. Perl is a very messy language.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds