perl -le "$f='hello world'; chop reverse $f; print $f" #### perl -le "$f='hello world'; $f=reverse $f;chop $f;$f=reverse $f; print $f" #### perl -le "$f='hello world'; substr($f,0,1)=''; print $f" #### perl -le "$f='hello world'; $f=~s!^.!!; print $f" #### perl -le "$f='hello world'; $f=~s!.!!; print $f"