http://qs321.pair.com?node_id=11129213


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

Yes. "dependency injection" is how this is called in the case of pytest, maybe it is not a generic term. You could create your own "fixture" and then you or others could set its name as a parameter.

I put together an example of creating and registering a fixture and then also use that fixture.

I would love to see your suggestion for more Perlish way.