Update: changed single qutoes to backticks as originally intended.#perl use File::Slurp; write_file ('filenameW', $ENV{OS} =~ /Windows/i ? `dir /b *.jpg` : `ls + *.jpg` );
In reply to Re^2: Find all JPEG files in a directory
by holli
in thread Find all JPEG files in a directory
by tech2040
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |