http://qs321.pair.com?node_id=197584


in reply to Re: IO::Scalar vs IO::String
in thread IO::Scalar vs IO::String

Hello hiseldl,

Thanks for the suggestion - but I need this trick inside my own module, and just in one place, so the module itself can be considered the "wrapper" in a way.

My consideration is which module to use right now, just hoping someone who has experience with both of them to give the right suggestion.

This really would be a no-brainer if one of these modules was part of Perl's core distribution (or considered to become part of is for that matter).

Cheers,
Joe

Replies are listed 'Best First'.
Re: Re: Re: IO::Scalar vs IO::String
by hiseldl (Priest) on Sep 13, 2002 at 14:15 UTC
    My recommendation is to use IO::Scalar because it is more mature and from the pod

      Note: as of version 2.x, these classes all work like their IO::Handle counterparts, so we have comparable functionality to IO::String.

    it has similar functionality to IO::String, so using IO::Scalar seems to be a win-win.

    --
    hiseldl
    "Act better than you feel"