Hi all,
The following code is working fine for listing *.xml files.
How could I list for two formats like *.xml and *.htm
Please suggest...thank u
use File::Find::Rule; my @files = File::Find::Rule->file() ->name( '*.xml' ) ->in( "." ); foreach $fname (@files) { print $fname; }
jdporter fixed code tags
In reply to Listing various types of files by l.frankline
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |