Today's mischief, filed for later

jjore on 2006-08-06T18:23:39

What things could I get into by doing @UNIVERSAL::ISA = (...)? I'm filing this for later.


How about…

Aristotle on 2006-08-06T21:15:32

How water?

:)

How about…

Aristotle on 2006-08-06T21:16:58

Hot water?

:)

Ask Damian

Alias on 2006-08-07T06:52:17

Have a look through Damian's modules, he does it a couple of times.

But almost any use of UNVERSAL::ISA is dangerous and spurious, I know of two things that could have been done a different way, that were initially done with UNIVERSAL::ISA

Re:Ask Damian

jjore on 2006-08-07T14:41:41

There's a lot of dangerous and spurious things I'd /like/ to know about. There's still plenty of oddball problems out there like the "let's pretend time can be rewound a bit and we used the value $bar instead of the $foo we originally had" which prompted Data::Postponed.

Well perhaps that module was crap too. It seemd ok til I tried to actually use it and then I got tangled up while recursing into self referential data (which only ends up so because perl is very, very, very strange inside assignment overloading).