in reply to Problem with utf8 after nearly 4096 bytes

$c->import_names('P');

stick with param()

... slurp ...

Don't do that, read the file line by line

  • Comment on Re: Problem with utf8 after nearly 4096 bytes

Replies are listed 'Best First'.
Re^2: Problem with utf8 after nearly 4096 bytes
by perl-diddler (Chaplain) on Sep 02, 2013 at 17:49 UTC
    Don't slurp

    Eh?

    I don't recall slurp turning off utf8. Why would it? It should just prevent breaking into lines, no?