There are several ways to approach that. Here are a couple of the easiest:
This is slightly less portable (because the syntax of your glob is platform-dependent), and less flexible (because the glob is hardcoded, so it's harder to do things like read the source directory path from a config file), but for a quick-and-dirty hack, it's easier to get working quickly.foreach my $file (</path/to/sourcedir/*>) { # ... }
HTH.HAND.
In reply to Re: remove non ascii characters in a whole corpus
by jonadab
in thread remove non ascii characters in a whole corpus
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |