perl -lpe 'substr $_, 0, 1 = "";' Can't modify constant item in scalar assignment at -e line 1, near """;" Execution of -e aborted due to compilation errors. perl -lpe 'substr $_, 0, 1, "";' this is his is #### perl -lpe 'substr($_, 0, 1) = "" ' test est