in reply to Arrays and the Llama Book

This is an OS-specific issue. On Windows you probably need to type [ctrl-Z][enter].


Dave

Replies are listed 'Best First'.
Re^2: Arrays and the Llama Book
by AnomalousMonk (Archbishop) on Aug 07, 2014 at 09:21 UTC

    Red Viper: Anything and everything Strawberry is Windows.

    c:\@Work\Perl\monks>perl -wMstrict -le "print qq{Enter some lines, the press [Ctrl-Z][Enter]:}; print reverse <STDIN>; " Enter some lines, the press [Ctrl-Z][Enter]: line 1 line two 3rd line ^Z 3rd line line two line 1