$method //= ''; #### $method = '' if ! defined $method; #### defined_or( $method, '' ); # changes the caller's variable sub defined_or { if ( ! defined $_[0] ) { $_[0] = $_[1]; } } #### no warnings 'uninitialized';
## $method = '' if ! defined $method; ##
## defined_or( $method, '' ); # changes the caller's variable sub defined_or { if ( ! defined $_[0] ) { $_[0] = $_[1]; } } ##
## no warnings 'uninitialized';