in reply to Re: code ref confusion
in thread code ref confusion

"There is a bug in your code:
my $self = @_; #2 "

Yeah, that was what part of what I didn't get - Actually args ( including $self) are passed to the anonymous sub when it is dereferenced. Once I realised that, it all made sense. Was just being a muppet. Thanks for your help though!

Cxx