- 
                Notifications
    You must be signed in to change notification settings 
- Fork 19
Open
Labels
Description
Similar to #10, it has the same rationale but I'm doing this in a separate issue since it requires making up new syntax.
The third common reason to apply a default is for an empty string.  ||= can't be used because "0" would be valid.  ""= would be equivalent to...
$arg = "default" if !defined($arg) or !length($arg);