If the module code is already included in your script, then you don't need the use statements for them. That is, you probably still have use Net::Scan::Ftp::Anonymous; in your script, so delete that command.
__________ Systems development is like banging your head against a wall...
It's usually very painful, but if you're persistent, you'll get through it.