|There's more than one way to do things|
Re: Safely altering the behaviour of heavily used modulesby demerphq (Chancellor)
|on Apr 08, 2006 at 20:15 UTC||Need Help??|
Seems to me that the problem with storable is that assignment to $_ doesn't work as it should work, or more specifically, as it would work in a normal perl subroutine.
For instance when I read this node my first though was "Hmm, you mean
doesn't work?". And of course when I tried it, it didn't.
Anyway, it seems to me that making assignment to @_ possible in the STORABLE_freeze() hook would resolve your problem, and I think would be backwards compatible.
Ill just add the mandatory shameless plug: with Data::Dump::Streamer this is easy.