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
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. :)
One just never knows.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.
Re:Feedback on one's modules
pudge on 2002-01-06T15:42:38I get most of my mail about MP3::Info.
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.
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...
In the end, to each his own, I guess.
Re:Choosy Coders use strict;
oneiron on 2002-01-07T05:33:07
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.