in reply to Re: Remove the first word for each lines from a text file
in thread Remove the first word for each lines from a text file

s/^\s*\S+\s*//; print $out;

Not quite, that prints the value of $out ("GLOB(0xabc...)") to the currently selected filehandle; the print $out $_; is necessary in this case.

Replies are listed 'Best First'.
Re^3: Remove the first word for each lines from a text file
by ExReg (Priest) on Dec 22, 2016 at 21:58 UTC

    You are right. I blame it on my computer. It is out to get me toda