FYI: Did you know you can create truly private subs in Perl?
# create a block to isolate the sub { local *foo = sub { print "foo\n"; }; # this works foo(); } # this does not work foo();
In reply to Re: Testing private methods a no-no?
by shawnhcorey
in thread Testing private methods a no-no?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |