Now, when I want to create a test case for this. I don't know how to declare such lexical variable in the test script, since it is supposed not to be access from outsider, including the test script.my $privateFunc = sub { ... }
In reply to test case for private function in module by minhtuanht
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |