File: README

package info (click to toggle)
libtext-glob-perl 0.08-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 76 kB
  • ctags: 5
  • sloc: perl: 138; makefile: 2
file content (69 lines) | stat: -rw-r--r-- 1,247 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
README for Text::Glob 0.08

=head1 NAME

Text::Glob - match globbing patterns against text

=head1 SYNOPSIS

 use Text::Glob qw( match_glob glob_to_regex );

 print "matched\n" if match_glob( "foo.*", "foo.bar" );

 # prints foo.bar and foo.baz
 my $regex = glob_to_regex( "foo.*" );
 for ( qw( foo.bar foo.baz foo bar ) ) {
     print "matched: $_\n" if /$regex/;
 }



=head1 INSTALLATION

 perl Build.PL
 perl Build test

and if all goes well

 perl Build install

=head1 HISTORY

What changed over the last 3 revisions

=over

=item 0.08	Wednesday 2nd May, 2007

	Expose glob_to_regex_string (Joshua Hoblitt)


=item 0.07	Friday 14th July, 2006

	Explictly quote @ and %.  Though they don't really need it to work
	normally, it's needed for when you roundtrip the
	regex back into text (like File::Find::Rule does).


=item 0.06    Monday 1st September, 2003

	- port to Module::Build
        - Nested alternations fix from Mike Benson
	
=back

=head1 AUTHOR

Richard Clamp <richardc@unixbeard.net>

=head1 COPYRIGHT

Copyright (C) 2002, 2003, 2006, 2007 Richard Clamp.  All Rights Reserved.

This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

=head1 SEE ALSO

L<File::Glob>, glob(3)