On Tue, May 17, 2005 at 06:19:40PM +0400, Laura wrote: > I can pass it along as an argument, but then event will > $_[KERNEL]->post(LADBI where i can`t pass that ARG...
LaDBI's events all take a UserData argument for just this purpose. Have another look at the LaDBI docs :) - sub success_event_handler { ... my ($handle_id, $datatype, $data, $userdata) = @_[ARG0..ARG3]; ... } $userdata is whatever you passed as UserData => to the original LaDBI post. That do the trick? -- Matt S Trout Website: http://www.shadowcatsystems.co.uk Technical Director E-mail: mst (at) shadowcatsystems.co.uk Shadowcat Systems Ltd.