Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Sorry Ovid, but this is an abomination. It kind of sums up many of the problems with Perl culture: obsession with syntax over utility, willful use of obscure features like using the import list for other things, and a desire to make everything REALLY short. Give the module a normal name, call the alias method like a normal method, and give intermediate perl programmers a chance in hell of understanding your code. Otherwise, it belongs in Acme::.
    • I fear that you are in the minority. Though many have objected to the name -- leading me to change it -- you're the only person who has objected to the idea of the module.

      The inspiration for this code was a module named "Aliased" that Rentrak [] uses extensively in their code. (They have graciously allowed me to duplicate the functionality of the code.) The reason I mention this is because while the code is new, the interface is not and it has withstood the test of time for very large scale systems (enterprise-class, if you can forgive the buzzword.)

      The programmers who work there will all quite happily tell you that this is a module they can't live without. Given how very useful it has proven to be I want it for my own projects. I'd be more hesitant if I didn't know how popular it is with the programmers who have used it. Maybe this is one of those "it sounds weird but it really works" ideas? (Dynamic typing being another example :)

      • I think you're misunderstanding me. I don't object to the module, only to the interface. I think it should have a simple interface with no obscure import() subversion and no pragma-like class names. The concept of aliasing is clear enough -- it's that API you came up with that I don't like.
        • Yes, I did misunderstand you. However, even though there are a couple of people who objected to the interface, I fear you're still in the minority. As I mentioned previously, I and a number of other programmers have been using a virtually identical interface for so long without any problems (and with strong benefits) that I'm still quite comfortable with the interface.

          You are someone who I generally pay extra attention to given my respect for your abilities. In this case, I must disagree due to extens