in reply to Re: Compiling and Installing Perl
in thread Compiling and Installing Perl

Except nobody will reccomend you write code like that :)
perl -Mre=debug -we'qr/[\s*\W*]/'
perldoc perlrun

Replies are listed 'Best First'.
Re: Re: Re: Compiling and Installing Perl
by ysth (Canon) on Dec 07, 2003 at 01:42 UTC
    In my experience, the -M switch isn't as widely understood as "use" :). I've gotten comments a number of times indicating that peoples eyes glaze over when they see a switch they don't know, even where it should be pretty obvious what it does.

    That said, here's a cool way to check a module's version number: perl -MName::Of::Module=99999999

Re: Re: Re: Compiling and Installing Perl
by xenchu (Friar) on Dec 05, 2003 at 14:18 UTC
    Thanks to everyone for their answers. If I can get the time (and the nerve) I will try installing Perl 5.8.1. In the the meantime I will use the command line code from AnonyMonk and study the code ysth sent.

    Thanks to all,

    xenchu


    ****sigfilesigfilesigfilesigfilesigfilesigfilesigfilesigfile

    Perl has one Great Advantage and one Great Disadvantage:

    It is very easy to write a complex and powerful program in three lines of code.

    ********************************************

    The Needs of the World and my Talents run parallel to infinity.