in reply to Inherit methods from IO::File and IO::Uncompress depending on file extension
Don't try to change DATASTORE, have two classes, DATASTORE::plain and DATASTORE::gzip.
I would make DATASTORE->new return one of the two classes, depending on the filename.
|
|---|