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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
please, no (Score:1)
Reply to This
Re:please, no (Score:2)
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 [rentrak.com] 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 (enterp
Re:please, no (Score:1)
Re:please, yes (Score:2)
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
Re:please, no (Score:2)
But I see that your clarification, and yes, the abuse of the import list is quite horrid.
Perl is a dynamic language. There's no reason why the magic fiddling must happen at compile time, nor is there any reason why it the aliasing must use a use sta
Re:please, no (Score:2)
Well, my thought is pretty straight-forward: the current code I have implemented not only works, it fits very naturally with current Perl syntax. I can't say that I like the syntax of how I handled importing, but that's not the common case. The important thing is that the common case be handled easily. The more programming people do, the more they want the common things to be short-n-sweet.
My code is ready to be uploaded and I'm merely waiting for last minute objections from the modules@cpan.or
Re:please, no (Score:1)
As well you should. The right code is even shorter and clearer.
Re:please, no (Score:2)
Silly me. For some stupid reason I thought I shouldn't use $package->can('import') because there's no guarantee that there's an import method. Mentally I thought "there's no guarantee that package can('can') and that might throw an error." It's weird how muddled my mind substituted "can" for "import" in that method call :/
Re:please, no (Score:1)