in reply to finding odd characters in a string that I am creating in the script
It would be much better if you can supply an unadorned plain-text "flat list" (e.g. as produced by the unix/linux "ls" or "find" utilities), or better yet, use opendir and readdir (or File::Find) to pull file names directly from the source folder(s) where your pdf files are stored.
As it is, the OP code is being pretty promiscuous about the accepting the contents of "ad_archive.rtf", and assuming that all those ".*" patterns in the regexes will yield sensible matches. I would expect a lot of failures.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: finding odd characters in a string that I am creating in the script
by Marshall (Canon) on Jul 28, 2009 at 09:52 UTC |