![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re^5: Introspecting function signaturesby LanX (Saint) |
on Mar 06, 2021 at 15:09 UTC ( [id://11129194]=note: print w/replies, xml ) | Need Help?? |
I may have trouble understanding the full intention.... please help me: You want to parse
And because you see the (registered) keyword "tempdir" your test system is supposed to call this test with a prepared temporary directory?
Kind of a naming convention? Did I get it right? If yes, I could think of some alternative (and more perlish) ways to achieve this without needing to parse the signature. PS: not sure why you call this "dependency injection" or do you plan testruns where the injected $tempdir is not a temporary dir? :)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|