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.
How would it work? (Score:1)
It looks like it is "aliasing" the module name (the last part) but that is the same as the previous module... so would it re-alias Customer?
And... does it alias all modules that are used after calling it? I think I'd really, really hate that part... I'd want to be able to say "only alias what I tell you to alias".
Kinda ugly (just thrown out as a starting block) but how about:or even:Just some thoughts... (and I have no idea where the space before the 'r' in customer is coming from)
Reply to This
Re:How would it work? (Score:2)
It only aliases what you tell it to alias, so no worries there. Also, the entire point of this is to keep things really, really simple. Dirt simple. Making it all OO defeats that. All this module really does (mostly) is to use the package in question and then insert a sub into your namespace that returns the name of the module.