Hi,

In article <[EMAIL PROTECTED]>, Jeff
'Japhy' Pinyan wrote:

> Typically, you create a sub-module.
> 
>   package Unix::AliasFile::Extended;
>   use base 'Unix::AliasFile';
> 
>   sub changed_method { ... }
>   sub new_method { ... }
> 
>   1;
> 
> Then you just use Unix::AliasFile::Extended in any program where you would
> have used Unix::AliasFile.

This worked better and was easier (once I remembered to update 'ISA@') than
I expected! I ended up adding two or three new methods and modifying four.

I'm going to extend another method, and now that I've got these sorted out
into two separate modules, it's quite easy.

-K



-- 
Kevin Pfeiffer
International University Bremen
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to