SPUG: Perl logic module?

Andrew Sweger andrew at sweger.net
Wed Mar 24 07:49:39 CST 2004

On Tue, 23 Mar 2004, Brian Hatch wrote:

> I want to write something that can handle some standard logic command
> line arguments.  Think tcpdump args, for example.  So I'd supply
> subroutines (or whatever's required) that can return true/false, and
> have some perl module stick them together in the correct dynamic order,
> as requested by the user.

Probably overkill, but this sounds like a job Parse::RecDescent.

These aren't what you're asking for, but it's in the vein of administering
remote hosts.

PICA (Perl Installation & Configuration Agent). I haven't touched PICA in
ages, so I'm not sure how close it comes to what you're looking for. But
it was designed around the idea of being able to apply an action to a
group of machines based on characteristics. I found it horrible to work
with. http://pica.sf.net/

There's also cfengine which takes another approach to dealing with groups
of machines. Another teeth pulling experience (I haven't seen the second
generation versions). http://www.gnu.org/software/cfengine/cfengine.html

Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.

More information about the spug-list mailing list