Re: help slurping a file





Xavier Noria wrote:

use File::Slurp;

my @lines = read_file($file);


Wrong, that code assumes $file has the runtime platform conventions, which is not the case.

OK sorry, sheesh... missed the part about it being a screwy file.

Can you change the crewy line ending to a normal one then use it?

If not don't yell, I'm just trying to help...
.