Update: I missed the part about this being a dummy class.

You want to emulate the interface of Net::FTP but you can't use Net::FTP?! It is part of the core - you don't even need to use CPAN.

Unless this is a school project or an educational exercie, this seems like a lot of reinventing the wheel. If you really, really have a good reason, then you might try studying the source code to get a better idea of how it is done. All of the source code is available via CPAN.

Quite honestly, if this is not a learning project and you need help figuring out how to do this, you are likely in way over your head with the project. If it is a learning project, it is very important that you define your scope and use cases very carefully before you begin, otherwise you will never reach the end.

When you study that module you will quickly see that there is a lot of complex code supporting that module. Code and documentation for that module alone is about 1800 lines. If your "can't use" rule extends further to its prerequesites (e.g. IO::Socket) the number of lines jumps up dramatically.

Even a guru programmer isn't going to write and thouroughly test that in less than a week. Assuming 1000 of that is lines of code, COCOMO 81 would put the time estimate at 3 months full time work! (that's for a single person of average skill).

Best, beth


In reply to Re^5: GLOB reference problem by ELISHEVA
in thread GLOB reference problem by jerryhone

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.