in reply to Re: interpolation OPEN white spaces
in thread interpolation OPEN white spaces
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;
|
|---|