in reply to Checking for Arguments before Usage?

Or, if 0 is a valid value for the input to the subroutine (ie., you don't want to set $inputValue to the default if 0 is the arg), use:
my $inputValue = defined $_[0] ? $_[0] : "default value";