in reply to Re^3: Passing a hash plus some strings to a subroutine
in thread Passing a hash plus some strings to a subroutine
Thank you hippo! That is exactly the case. Why is that not a PBP? I have good reasons for putting code before dealing with parameters in subs, like using IPC::Cmd to check if we can run an executable:
sub something { return 'oops' unless can_run('something'); my %arg = @_; ... }
|
|---|