Thank you! That is! It works perfectly, provided the "-" is used. I just correct it here for future reference.
my $cmd = qq(files\\pdftotext "$path_folder/$TextID" - |); my $pid = open (FILE, $cmd) or die "Couldn't spawn [$cmd]: $! / $?"; $text = do { local($/); <FILE> }; close FILE;
In reply to Re^2: interpolation OPEN white spaces
by welleozean
in thread interpolation OPEN white spaces
by welleozean
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |