Using OO methods would mean that you'd first have to have an object. I would suggest another approach. Connect a "factory" method to the "End" handler to build the object after collecting the object data. You could use the "Start" handler to allocate the hash to collect the data.
If you're using Moose style OO, it would simplify things as Moose gives you a constructor that accepts a hash of values as a constructor.
In your "Start" handler, you'll have to register the hash you're building so you can reach it again, and at the "End" handler, you'll want to connect your object to the parent object (which you can access via the aforementioned registration). A simple stack will probably be sufficient for the registration process.
...roboticus
In reply to Re: OO Callback Function Reference
by roboticus
in thread OO Callback Function Reference
by FlatBallFlyer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |