in reply to ftp, and store file in memory instead of persist to disk

Wouldn't a simple use of IO::String with Net::FTP been a lot easier to write and maintain?

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: ftp, and store file in memory instead of persist to disk

Replies are listed 'Best First'.
Re: •Re: ftp, and store file in memory instead of persist to disk
by pg (Canon) on Feb 19, 2003 at 16:45 UTC
    Hm... IO::String is not a core module, I usually avoid using those modules, especially for simple stuffs like this ftp, where I don't see much maintenance would needed, and I would rather depend on my own bugs, instead of someone else's bugs.

    Also, it is much "cheap" (fast and use less memory) to use my little function than to use two full-scale modules (obviously excluding the memory used to store the file, which can not be avoided, and is my purpose).

    But, I really appreciate your comment.
      IO::String is not a core module
      But it is in the core in 5.8.

      I would rather depend on my own bugs, instead of someone else's bugs
      Then I would rather that you not post your buggy code here, especially when a much simpler solution is available. You are needlessly reinventing the wheel. It's fine if you want to do that in the privacy of your own cube, but a bit distracting for the community at large if you do it in public.

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.

      A reply falls below the community's threshold of quality. You may see it by logging in.