In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/8236531137ae107f8a187261b0f8fdb9bff11811?hp=a9b5431bbad036dcb9773ff97b10a02d6cf706a0>

- Log -----------------------------------------------------------------
commit 8236531137ae107f8a187261b0f8fdb9bff11811
Author: David Golden <[email protected]>
Date:   Thu Feb 5 10:31:10 2015 -0500

    perlop: document use of fc() for case-insensitive comparisons
-----------------------------------------------------------------------

Summary of changes:
 pod/perlop.pod | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pod/perlop.pod b/pod/perlop.pod
index 9c7abc0..e5d15dd 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -525,6 +525,11 @@ encodings.  The standard L<Unicode::Collate> and
 L<Unicode::Collate::Locale> modules offer much more powerful solutions to
 collation issues.
 
+For case-insensitive comparisions, look at the L<perlfunc/fc> case-folding
+function, available in Perl v5.16 or later:
+
+    if ( fc($x) eq fc($y) ) { ... }
+
 =head2 Smartmatch Operator
 
 First available in Perl 5.10.1 (the 5.10.0 version behaved differently),

--
Perl5 Master Repository

Reply via email to