Help for this page
substr( $mask_input, $lastEnd, $start ) =~ tr[\x00-\xff][N];
substr( $mask_input, $lastEnd, $start ) =~ tr//N/c;