in reply to Reading in of a file

It seems like somewhere in the code, the global variable $/ gets modified. You should always localize such changes, but if that doesn't help, try setting
local $/ = "\n";

before reading the whole file into the array.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Reading in of a file
by tobias_hofer (Friar) on Nov 07, 2014 at 10:26 UTC
    This is it! Great!!!

    Yes, i will localize it just like your example.

    Thank you very much, you made my day and weekend! ;-)

    Best regards
    Tobias