On Thu, Jun 15, 2000 at 10:58:20PM +0400, [EMAIL PROTECTED] wrote:
> Hello!
> 
> I'm wrote same modules ( Net::RRP::* ) for upload to CPAN, but one
> module ( non OO ) have a root namespace. This is a Toolkit.pm with the
> next methods:

Looking over the methods, I'm not sure whether these are already
provided by other modules.

> decodeTilde - decode lead tilde from path

File::Spec?

> strip       - strip lead/tail spaces and tabs from line

Uh, as simple as s/^\s+(.*)\s+$/$1/ ?

> safeCall    - get code refence argument and recall this code if EINTR
>               error
> safeRead ( $handle, $buffer, $length ) - read $length bytes from
>             $handle, recall sysread() until $length bytes are recieved.  
>             Handle EINTR.
> safeWrite ( $handle, $buffer, $length ) - write $length bytes to
>            $handle, recall syswrite() until $length bytes are sended.

Do you integrate with an event loop?

> pathSubtract - subscraction routine ( subscraction of two absolute path
>               && return a relative path )

File::Spec?

-- 
"Never ascribe to malice that which can be explained by stupidity."
                           via, but not speaking for Deutsche Bank

Reply via email to