http://www.perlmonks.org?node_id=637625


in reply to Re: object oriented module question
in thread object oriented module question

Note: Not advisable you create the object w/i the only, paramaterless constructor.

Should you wish to use something-else as the CSV parser or want to do some other stuff (such as testing) w/o requiring Text::CSV about, now you're stuck.

If anything, create a function/method and feed it in. p.s. I know it is only an example.