in reply to Subroutine References
Lets you call it with an array ref like
$SubRef->(\@Array , $Scalar);
And I believe the answer is that an array ref is actually scalar, so the prototyping allows it whether it is sub(\@$) or sub($$)
UPDATE: I was wrong. Just ignore me.
- Tom
|
---|
In Section
Seekers of Perl Wisdom