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
In reply to Re^2: code ref confusion
by CassJ
in thread code ref confusion
by CassJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |