in reply to Extend a module

You subclass it, and instead of useing the original Net::FTP, you load your child class instead.
package Your::Net::FTP; use parent 'Net::FTP'; use strict; use warnings; sub your_new_method { ... } 1;