Help for this page

Select Code to Download


  1. or download this
    use if $] ge '5.016', feature => 'fc';
    use if $] lt '5.016', 'Unicode::CaseFold' => 'fc';
    
  2. or download this
    *case_insens = $] ge '5.016'
        ? sub { &CORE::fc($a) cmp &CORE::fc($b) }
        : sub { lc $a cmp lc $b };
    
    @list = sort {case_insens()} @list;