in reply to Adding elements to an array from an array

OK - im not exactly a newbie, nor an expert - just on the low rung on the ladder of knowledge here I guess. but... what exactly do: $|++; and $/=".END\n"; do?
<bold>mr.8</bold>
  • Comment on Re: Adding elements to an array from an array

Replies are listed 'Best First'.
Re: Re: Adding elements to an array from an array
by thelenm (Vicar) on May 01, 2002 at 20:54 UTC
    $|++ causes flushing to happen automatically on the currently selected output channel (this happens if $| is non-zero).

    $/=".END\n" changes the input record separator to the string ".END\n".

    See perlvar for more information.