Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Getting Better at Finding Answers

by luis.roca (Deacon)
on Apr 11, 2011 at 21:59 UTC ( #898790=perlmeditation: print w/replies, xml ) Need Help??

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;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://898790]
Approved by ww
Front-paged by ww
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2017-04-30 15:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (541 votes). Check out past polls.