$type = ref( $_[0] ) if $type eq 'REF'; #### if( $type eq 'GLOB' ){ return <$_[0]>; elsif( isa.....