Add a user-function to Perl core????

2002-09-10 Thread RTO RTO
I am not sure if this would be inane to ask. But here is a dilemma: I have three functions, ltrim, rtrim and trim. As the function names adumbrate, each of them trims white-spaces -- the usual trimming stuff. Since, these functions do not exist in Perl and of course I can club them together

Re: Add a user-function to Perl core????

2002-09-10 Thread Janek Schleicher
Rto Rto wrote at Tue, 10 Sep 2002 12:26:57 +0200: I have three functions, ltrim, rtrim and trim. As the function names adumbrate, each of them trims white-spaces -- the usual trimming stuff. I'm afraid you reinvent the wheel :-) There's already a CPAN module implementing these functions in

RE: Add a user-function to Perl core????

2002-09-10 Thread Bob Showalter
-Original Message- From: RTO RTO [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 6:27 AM To: [EMAIL PROTECTED] Subject: Add a user-function to Perl core I am not sure if this would be inane to ask. But here is a dilemma: I have three functions, ltrim, rtrim

Re: Add a user-function to Perl core????

2002-09-10 Thread drieux
On Tuesday, Sep 10, 2002, at 03:26 US/Pacific, RTO RTO wrote: [..] In a nutshell, is there a way, where user-defined functions can be safely added to my local installation of Perl and make it believe that such user-defined functions to be a part of standard Perl functions? Can I invoke

Re: Add a user-function to Perl core????

2002-09-10 Thread Michael Fowler
On Tue, Sep 10, 2002 at 03:26:57AM -0700, RTO RTO wrote: In a nutshell, is there a way, where user-defined functions can be safely added to my local installation of Perl and make it believe that such user-defined functions to be a part of standard Perl functions? Can I invoke such