Help for this page

Select Code to Download


  1. or download this
    The Questions
    
            perlfaq1: General Questions About Perl
    ...
            perlfaq7: General Perl Language Issues
            perlfaq8: System Interaction
            perlfaq9: Networking
    
  2. or download this
    Found in /System/Library/Perl/5.10.0/pods/perlfaq4.pod
           How can I find the Julian Day?
    
    ...
                   $ perl −MDateTime −le'print DateTime−
    +>today−>doy'
                   30
    
  3. or download this
           map BLOCK LIST
           map EXPR,LIST
    ...
                       %hash = map { ("\L$_", 1) } @array  # this also wor
    +ks
                       %hash = map {  lc($_), 1  } @array  # as does this.
                       %hash = map +( lc($_), 1 ), @array  # this is EXPR 
    +and works!
    
  4. or download this
    use strict;
    use warnings;
    use diagnostics;