in reply to How to make script die with "Not enough args" on compilation step if args are passed as a hash ref? See inside

die "arg $_ not found" unless exists($hash->{$_})
for (qw/apple pear peach/)
  • Comment on Re: How to make script die with "Not enough args" on compilation step if args are passed as a hash ref? See inside

Replies are listed 'Best First'.
Re^2: How to make script die with "Not enough args" on compilation step if args are passed as a hash ref? See inside
by choroba (Cardinal) on Jun 21, 2013 at 12:21 UTC
    Do you think that not using the <code> tags will make the code run in the compilation phase?
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ