> subs in perl ALWAYS return something, either the value from return or > the last evaluated expression.
What do you mean by this? sub nothing { my $something = 5; if ( $something == 5) {} } ... will return 'undef' and not 5 or anything else, right?
> subs in perl ALWAYS return something, either the value from return or > the last evaluated expression.
What do you mean by this? sub nothing { my $something = 5; if ( $something == 5) {} } ... will return 'undef' and not 5 or anything else, right?