Hi monks
It is surely a stupid error I'm doing, but I can't let the following work if $TextID contains white spaces. I see the logic why it is not working, but I'm havng problems solving this interpolation issue. Thank you
open (FILE, "files/pdftotext $path_folder/$TextID - |"); $text = do { local($/); <FILE> }; close FILE;
pdftotext is a PDF to Text converter (.exe) and I want the content of the text read by this tool in my variable $text for further processing. It works perfectly if the file name cntained in $TextID contains no spaces
In reply to interpolation OPEN white spaces by welleozean
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |