Debian Codegraph @

README

raw
1 File/FnMatch version 0.01
2 =========================
3
4 File::FnMatch exposes your system's fnmatch(3) capabilities to Perl.
5 While considerably less powerful than regular expressions, shell-style
6 patterns are yet useful and familiar to a large audience of end-users.
7
8 ----------------------------------------------------------------------
9 N.B.: Some platforms, notably Win32, do not supply an fnmatch
10 implementation. This module will not build on those platforms.
11 ----------------------------------------------------------------------
12
13 Briefly:
14
15 use File::FnMatch qw(:fnmatch);
16
17 opendir(D, '.');
18 while (my $fn = readdir(D)) {
19 next unless fnmatch('*.exe', $fn, FNM_PERIOD|FNM_PATHNAME);
20 ...
21 }
22
23 INSTALLATION
24
25 To install this module type the following:
26
27 perl Makefile.PL
28 make
29 make test
30 make install
31
32 COPYRIGHT AND LICENCE
33
34 Copyright (C) 2005 Michael J. Pomraning
35
36 This library is free software; you can redistribute it and/or modify
37 it under the same terms as Perl itself.
38