>> I have a little perl calculator tool that folks in our group use for
>> various
>> things...  One of the routines it has is a unit converter, _uc.  I'd
> like
>> to
>> make that available to the user as "uc".  Can I make "uc" work just
> like
>> "_uc"?
> 
> uc() is a Perl built-in function to make a string upper-case.  Why not
> rename your custom function with something more descriptive (i.e.
> unit_convert, unitConverter) and avoid a name collision?


Okay, I'll rename it to something else -- but I still want it to be called
"_uc" in my code and maybe just "u" available to the user.  Is this
possible?

- B




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to