ingydotnet / io-all-pm

All in One Perl IO
http://search.cpan.org/dist/IO-All/
38 stars 20 forks source link

Refactor IO::All to use a hash based object #69

Open ingydotnet opened 9 years ago

ingydotnet commented 9 years ago

Currently we use a file handle (glob ref). This issue should be resolved with as little other change as possible. We will likely lose the capability to use an IO::All::File object as a file handle, but that's probably OK.

hginzel commented 9 years ago

Why is it necessary? To loose the capability that IO::All::File is not a file handle is probably not OK. It would not be possible to use it in print, say and other functions.

ingydotnet commented 9 years ago

It's not necessary, but we thought it might make the code easier to maintain. My attempts to do this so far have been problematic, so I think it is possible that we will leave the object model asis.

Consider joining #io-all on irc.perl.org to discuss with others.