in reply to Re^2: invoke shell with `` failed
in thread invoke shell with `` failed
works fine for "well-behaved" files. I suspect the problem you are having is due to the contents of the file you are listing. Either it is too large (i.e. larger than your RAM so Perl cannot fit it into the scalar, which is unlikely) or it contains some character sequence that causes problems. Does your shell list the file OK?my $variable = `cat some.file`;
|
|---|