in reply to Re: custom args with perl -an type invocation?
in thread custom args with perl -an type invocation?

Here, I think you can just say $type = shift, don't need to say $type ||= shift