Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

oneiron (2615)

oneiron
  (email not shown publicly)

/-\ aka eyepopslikeamosquito on Perl Monks

Journal of oneiron (2615)

Sunday January 06, 2002
03:28 AM

Is my CPAN module being used?

[ #1945 ]

I recently joined the ranks of CPAN authors, but have only written one module, namely Acme::EyeDrops. I have not received much feedback on it and only one bug report, making me curious to see if anyone was actually using it. Searching with good old google revealed, to my great surprise, that it is being taught at Harvard University! Well, I don't really know what practicalperl.com is -- part of Harvard Extension School, whatever that means. Anyway, here is their homework assignment.

Homework 2 problem 5

Just follow the instructions...
You will install Acme::Eyedrops.

You will write a program, eyedrops.pl, that uses Acme::Eyedrops
to convert a program into a prettier version of a program.

$ ./eyedrops.pl hello.pl > hello_world_eyedropped.pl
1 shapes completed.
$ perl hello_world_eyedropped.pl
Hello world!

Interestingly, the lecturer manually added use strict to the top of an EyeDrop'ed program, and, shock, horror, it worked! It never occurred to me to test EyeDrops under use strict. :)

Oh, and it got a mention at Purdue University too, in a talk by Dave Jacoby titled The Joy of Perl in an unfortunately titled section: Programmers on Crack. But since it is mentioned in the same breath as the maestro's Acme::Bleach and Coy, I will forgive the author for the unfortunate section name. :)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I recently joined the ranks of CPAN authors, but have only written one module, namely Acme::EyeDrops. I have not received much feedback on it and only one bug report, making me curious to see if anyone was actually using it.

    One just never knows.
    I've written rather a lot of modules [cpan.org] and probably don't get more than three messages a month about all of them put together. And it's my impression that some are seeing very heavy use, like HTML::TreeBuilder. I think I get more mail about the MIDI

    • I get most of my mail about MP3::Info [sf.net].

      Feedback depends on lots of things. If your module is well-documented and easy to use and mostly bug-free, you probably won't get much feedback, except for the occasional "thank you," unless your module is well-used enough that the "masses" get ahold of it. Most of the MP3::Info mail I get is from people who don't know how to install modules, can't read docs, etc. My other modules aren't as sexy and don't get into the hands of people who can't read. ;)
  • Interestingly, the lecturer manually added use strict to the top of an EyeDrop'ed program, and, shock, horror, it worked! It never occurred to me to test EyeDrops under use strict. :)

    Not to start THAT holy war again, but I can't fathom coding without strict. I just checked a quick script I wrote at work this week which consisted of six lines of code, and was intended to be used once and only once. The seventh line, up top, was...

    use strict;

    In the end, to each his own, I guess. :)

    • I strongly believe in use strict. The purpose of Acme::EyeDrops, however, is to remove all alphanumerics from your program, shaping it like a camel, say. Manually adding "use strict" (9 alphanumerics) after EyeDrops-converting your program seems to defeat this primary purpose.

      --
      /-\
  • I meant "Programmers on Crack" in the nicest of all possible ways....
    --
    My Portal [purdue.edu]