I've just recently realized that the slick and useful Mandrake configuration utilities are written in Perl. I'm trying to get my laptop to detect whether I'm using the touchpad or MS mouse and hacking Mandrake's mousedrake is making it easy.

The multi mode interface (cmdline,curses and Gtk) looks handy, is Mandrake's work CPAN absorbable?

Just look at all these juicy modules, imagine the shoot-yourself-in-the-foot potential.

[15:11 root root]# ls /usr/lib/libDrakX/ Newt/ help.pm partition_table_bsd.pm Xconfig.pm http.pm partition_table_dos.pm Xconfigurator.pm icons/ partition_table_empty.pm Xconfigurator_consts.pminteractive.pm partition_table_mac.pm any.pm interactive_gtk.pm partition_table_raw.pm auto/ interactive_newt.pm partition_table_sun.pm bootloader.pm interactive_stdio.pm pci_probing/ c/ keyboard.pm po/ c.pm lang.pm printer.pm class_discard.pm log.pm printerdrake.pm commands.pm loopback.pm raid.pm common.pm modparm.pm resize_fat/ crypto.pm modules.pm run_program.pm ddcprobe/ mouse.pm sbus_probing/ detect_devices.pm my_gtk.pm serial_probe/ devices.pm netconnect.pm services.pm diskdrake.pm netconnect_consts.pm share/ fs.pm network.pm swap.pm fsedit.pm partition_table.pm timezone.pm

Replies are listed 'Best First'.
Re: Perl + Mandrake
by arturo (Vicar) on Jan 30, 2001 at 19:29 UTC

    Dunno, exactly. Given Linux-Mandrake's closeness in overall layout to Redhat, you'd think the tools would be at least portable to that. But otherwise, they're probably a little too distro-specific to really catch on. Debian users don't need 'em (AFAIK), because they have their own set of slick Perl-based tools; and even for other RPM-based distros, you'd need to do some heavy work to get them ported.

    It is a neat thought, though!

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor