[DFW.pm] Is Perl Like Shell Script?

nadim khemir nadim.khemir at gmail.com
Fri Oct 18 05:13:24 PDT 2013


A.J.

presenting Perl as a replacement for a shell scripting is often used by
seasoned Perl developers to make it look like it is an easy transition and
it doesn't require the seriousness and investment that other languages, say
C++, would need. It is also used by people that understand very little to
Perl and software development too. I hope you met someone from the first
group.

I've been using Perl 15 years, I think it is better to present it on the
human level rather than comparing it with other languages. It's FUN, it's
capable, the community (when you find it and here is a good place) is
great, it's dynamic and gets things done, there are tens of thousands of
modules to help you with what you want to do (making it a bit more than a
scripting replacement).

Perl is a language at the same level as Java, C++,JS, etc.. It needs
seriousness to make complicated things but you can also use it to do simple
things, lowering the threshold for beginners is important but please,
PLEASE, don't use it to write crappy software, it will be as good as you
want yourself to be.

Welcome to many years of fun.

PS:
writting your "scripts" in Perl rather than bash is, IMO, a very good idea.


On Fri, Oct 18, 2013 at 6:20 AM, Mike South <msouth at gmail.com> wrote:

> It might be easier for you to get an idea of this if you give us an
> example of something complex you did, or were thinking of doing, in a shell
> script, and we can show you how perl would make it easier (if that happens
> to be the case for your case).
>
> mike
>
>
> On Thu, Oct 17, 2013 at 5:50 PM, A.J. Maurin <coyo at darkdna.net> wrote:
>
>> I know this is kindof a stupid question, but Perl was introduced to me as
>> being a good alternative to using complex BASH Shell scripts with embedded
>> Awk and Sed scripts.
>>
>> Is Perl like a shell script?
>>
>> from http://perldoc.perl.org/**perlintro.html#What-is-Perl<http://perldoc.perl.org/perlintro.html#What-is-Perl>?
>> it seems that perl is somewhat like shell or php in some ways.
>> ______________________________**_________________
>> Dfw-pm mailing list
>> Dfw-pm at pm.org
>> http://mail.pm.org/mailman/**listinfo/dfw-pm<http://mail.pm.org/mailman/listinfo/dfw-pm>
>>
>
>
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/dfw-pm/attachments/20131018/23df9a51/attachment.html>


More information about the Dfw-pm mailing list