Perl: the Markov chain saw | |
PerlMonks |
Re: Aliasing a builtin?by chromatic (Archbishop) |
on Mar 11, 2003 at 04:52 UTC ( [id://241945]=note: print w/replies, xml ) | Need Help?? |
If that's all you want, there you go. Beware of a couple of things though. First, you'll need to make sure that Perl knows what len means -- either declare the sub before, as I have done, or use a forward declaration. Second, some built-ins have special prototypes. You can use prototype to discover them. There are a couple of gotchas I always have to look up documented there.
In Section
Seekers of Perl Wisdom
|
|