![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( #3333=superdoc: 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 reply to Re^5: Introspecting function signatures
by LanX
|
|