Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^9: Introspecting function signatures

by jcb (Parson)
on Mar 08, 2021 at 01:58 UTC ( [id://11129306] : note . print w/replies, xml ) Need Help??


in reply to Re^8: Introspecting function signatures
in thread Introspecting function signatures

I'd certainly put test-subs into their own package, if they lived in the same file.

That does not reduce the overhead problem I mentioned — the test-subs will still be compiled every time the module containing them is loaded. Only putting the tests into a separate file solves that problem.

  • Comment on Re^9: Introspecting function signatures