in reply to Style Question: small and modular, or big enough to do the job in one piece?

Theses pieces are not large enough or general enough to be thought of as OO,

Why not? Would it make sense to make them so? Note that I consider the use of Exporter to be somewhat OO, as it's working with encapsulation and reusability. (2 out of 3 ain't bad, or so the song goes...)

Of course, I'm wondering why you're not using Net::FTP ...

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

  • Comment on Re: Style Question: small and modular, or big enough to do the job in one piece?

Replies are listed 'Best First'.
Re: Re: Style Question: small and modular, or big enough to do the job in one piece?
by Anonymous Monk on Feb 15, 2002 at 05:50 UTC
    I am. Net::FTP is doing all the hard work. My code is really just making it a specific job, passing in who to connect to, what files to do what with, and allowing me to store encrypted login and passwords in the control file.