$str = substr $str, 1; # Or in case the string is empty $str = substr $str, 1 if length $str;