Help for this page

Select Code to Download


  1. or download this
    If you have code that purports to sort text that looks like this:
    
    ...
    
    use Unicode::Collate;
    @sorted_lines = Unicode::Collate::->new->sort(@lines);
    
  2. or download this
    use strict;
    use warnings;
    ...
    }
    print "Great!!!\n";
    exit;
    
  3. or download this
    > time perl test_ltgteq.plx
    Great!!!
    ...
    real    0m0.046s
    user    0m0.036s
    sys     0m0.008s
    
  4. or download this
    use strict;
    use warnings;
    ...
    print $Print;
    exit;
    
  5. or download this
    > time perl test_ltgteq2.plx
    $something eq ""
    ...
    user    0m0.672s
    sys     0m0.008s