How would that work? The three packages have different behavior that can't be combined.
Read Re: Breaking Tie::Hash into three modules again.
shmem++ proposes to merge Tie::StdHash into Tie::Hash, Tie::StdArray into Tie::Array, and Tie::StdScalar into Tie::Scalar.
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
| [reply] |
The post reads:
making the three modules into just one: Tie::Hash
To me this means merging Tie::Hash, Tie::StdHash, and Tie::ExtraHash into a single package. That can't be done because Tie::ExtraHash uses a different internal storage, and Tie::Hash implements a CLEAR method that is useful for subclasses that don't use the same storage as Tie::StdHash.
Similar things are true for the other modules. Tie::Scalar is maybe the only one that could be merged, but arguably the current Tie::Scalar package serves no purpose.
| [reply] |