in reply to Re: 'Invisible' newlines/line wrapping
in thread 'Invisible' newlines/line wrapping

it prints the inputted value for $input and then "\n"
  • Comment on Re^2: 'Invisible' newlines/line wrapping

Replies are listed 'Best First'.
Re^3: 'Invisible' newlines/line wrapping
by ikegami (Patriarch) on Apr 23, 2010 at 01:55 UTC
    $index=<STDIN>;

    should be

    chomp( $index=<STDIN> );

    You never removed the newline Enter produced.