Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^4: Breaking Tie::Hash into three modules

by Haarg (Curate)
on Sep 12, 2018 at 11:00 UTC ( #1222202=note: print w/replies, xml ) Need Help??

in reply to Re^3: Breaking Tie::Hash into three modules
in thread Breaking Tie::Hash into three modules

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.

  • Comment on Re^4: Breaking Tie::Hash into three modules

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1222202]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2021-10-17 15:04 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (71 votes). Check out past polls.