in reply to Re^5: while loop
in thread while loop
Indeed! And well done to point out - although we were talking about sub calls. However when dereferencing I'd recommend using (again: unless one knows what she's doing and has good reasons to!)
$subref->(@args);
This is not merely cosmetic: I actually met a situation in which a module using &$subref(@args) caused a bad interaction with some subs.
|
---|
In Section
Seekers of Perl Wisdom