Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Not Matt's Scripts

by davorg (Chancellor)
on Aug 11, 2001 at 20:51 UTC ( [id://104159]=perlmeditation: print w/replies, xml ) Need Help??

A couple of months ago I made the mistake of pre-announcing London.pm's project to rewrite Matt Wright's scripts in something approaching 'real' Perl, Since then I've had a lot of interest in this project, whilst the project itself hasn't made much progress.

As I haven't been travelling to or from a conference this weekend (for the first time for some weeks!) I decided to do something about it. As a result, the first drafts of eight scripts are online at www.dave.org.uk/scripts/nms/.

Comments, patches, encouragement and offers of help are all welcome :)

--
<http://www.dave.org.uk>

Perl Training in the UK <http://www.iterative-software.com>

Replies are listed 'Best First'.
Re: Not Matt's Scripts
by princepawn (Parson) on Aug 11, 2001 at 21:38 UTC
    I think it would be easy enough to post them here one by one and have us cobble up replacements.... it would give those chatter box vultures something to do besides philosophize about evolution and the origin of monogamy. :)

    It might be very instructive to show before and after versions of the scripts.

    Finally, CPAN has a scripts archive, though it isn't widely used. I would recommend writing modules which can be scripted via it's API instead of writing scripts proper.

      It might be very instructive to show before and after versions of the scripts.

      You can do that easily enough at the moment by pulling down my versions and comparing them with Matt's. I might consider putting Matt's versions in my distribution as a lesson to us all, but I think he's quite protective on things like that.

      Finally, CPAN has a scripts archive, though it isn't widely used.

      The deputy librarian of CPAN has already shown great interest in these scripts. They will, no doubt, appear there in due course.

      I would recommend writing modules which can be scripted via it's API instead of writing scripts proper.

      There's a chance that something like that might happen much later. The problem is that Matt's scripts are so popular precisely because they are so easy to use. There's no need to install modules from CPAN or do anything that a novice webmaster might find confusing. If these scripts are to find any kind of popularity they have to be just as simple to use.

      --
      <http://www.dave.org.uk>

      Perl Training in the UK <http://www.iterative-software.com>

        Just write the functionality of the script as a module and put "standard usage" of it at the end like:

        package main; require File::Basename; File::Basename->import( qw(basename) ); if( &basename( $0 ) eq &basename( __FILE__ ) ) { require CGI; my $q= CGI->new(); # ... }
        that way you can make one file that is both a module and an all-in-one CGI script. This might even help the modulephobic slowly learn to like modules. (:

                - tye (but my friends call me "Tye")
Re: Not Matt's Scripts
by fireartist (Chaplain) on Apr 30, 2002 at 13:51 UTC
    I've found a couple of problems with the nms FormMail.pl script.
    I've entered them into the bug tracker at http://sourceforge.net/projects/nms-cgi/

    (I only posted this here, cause I guess you probably come here more often :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://104159]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-19 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found