[DFW.pm] Is Perl Like Shell Script?

Shaun Dawson scdawson at gmail.com
Sun Oct 20 11:48:07 PDT 2013

I think that sounds like a really great Perl script (and not all that difficult to write).  I think it would be a nightmare to write in bash, though.  You might think about just writing it in Perl to begin with.

There are Perl modules that make talking to an IRC server almost trivial.  (Net::IRC comes to mind, but memory might be faulty).  Plus the documentation usually serves as an easy example.

Good luck!


On Oct 19, 2013, at 17:43, "A.J. Maurin" <coyo at darkdna.net> wrote:

> On 10/17/2013 11:20 PM, Mike South 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
> Hmm...
> I'll need write a shell script. I hope you don't mind waiting a bit, I don't want to show you a bad script.
> The shell script I have in mind is an IRC bot that uses Netcat to talk to the IRC server, and a while loop (the event loop) in bash that's forked off from the terminal, but can be killed via killall coybot.sh.
> I'll need to rewrite it.
> _______________________________________________
> Dfw-pm mailing list
> Dfw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/dfw-pm

More information about the Dfw-pm mailing list