Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
MandrakeLinux is a popular Linux distribution that relies very much on Perl for its installation and its administration. Sometimes the same tool can run either in a tty or under the X window system using Perl-Gtk. For example. urpmi, a front-end to rpm, the MandrakeLinux package manager, is written in Perl. MandrakeSoft has developped a generic library that is very useful: perl-MDK-common is the rpm that contains it. I know that perl-MDK-Common is used by gentoo, too.

In a sense, the Perl tools developed by MandrakeSoft suffer of the same problem of visibility that other perl tools. Indeed, when a community is very strong, it develops its own forums and it becomes paradoxically less visible because it is underepresented in generic forums like sourceforge. In the case of MandrakeSoft the tools are mostly invisible from the Perl community because they are not in CPAN.

But I am not writing here to sing praises to Mandrakelinux but to advertize a little know tool not even written in Perl: perl_checker. Rafael Garcia-Suarez, MandrakeSoft programmer and one of the Perl5 pumpkings, drawed my attention to that tool. perl_checker is developped by pixel, one of the MandrakeSoft programmers. Its goal is to enforce a sound style policy for Perl programs. perl_checker is written in OCAML. another camel related language. :)

Probably the Perl6 community should get interested in OCAML in particular and the ML class of languages in general because they have done a lot of research on type inference. OCAML code is statically typed while Perl6 will be a mix of statically typed and dynamically typed code.

I guess that, someday, Perl6 will have to do some kind of type inference so as to permit Perl programmers to be light on type annotation but for the Perl6 compiler to generate when possible efficient code (statically typed code, even jittable for simple operations like dealing with integers and floats).

For people interested in OCAML implementation and type inference, here is a good place to start.

I have been asked how to get perl_checker. It is part of the Perl-MDK-Common rpm package. Get the last src rpm if you want to peek the OCAML source.

lftp -c 'open ftp.proxad.net:/pub/Distributions_Linux/Mandrakelinux/ +devel/cooker/SRPMS/main; mget perl-MDK*'
The cvs is http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/perl-MDK-Common/

-- stefp

2004-12-17 Janitored by Arunbear - replaced pre tags with code tags, to prevent distortion of site layout


In reply to MandrakeSoft perl_checker by stefp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others surveying the Monastery: (6)
    As of 2020-07-08 13:54 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?