> -----Original Message----- > From: Bryan R Harris [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 10, 2006 12:37 PM > To: Beginners Perl > Subject: pointer to subroutine? > > > > 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? ry > > Thanks! > > - B > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>