in reply to Testing private methods a no-no?
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();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing private methods a no-no?
by Athanasius (Cardinal) on May 22, 2016 at 05:50 UTC | |
|
Re^2: Testing private methods a no-no?
by Anonymous Monk on May 20, 2016 at 21:01 UTC |