in reply to Aliasing built-in Functions

I think this is generally a bad idea. Aliasing builtins may be fun, and may give you some builtins with names you like better, but it probably causes more trouble than it's worth. It makes it extrememly difficult for someone to maintain your code, for example. They're looking for Perl words and finding yours. In order to ensure they're properly understanding, they have to track back and forth through the code to find what your aliases are referring to.

If you prefer another language, use it. Then use a translator to convert your code into Perl, if that's what you want to do. You could even write your own translator to do this for you. But aliasing builtins is just asking for trouble, IMNSHO.

Replies are listed 'Best First'.
Re^2: Aliasing built-in Functions
by eric256 (Parson) on Mar 19, 2006 at 22:33 UTC

    He did put it in the ACME name space which i thought made it pretty clear he was just playing around. ;)


    ___________
    Eric Hodges