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

Lady_Aleena's scratchpad

by Lady_Aleena (Deacon)
on Sep 07, 2007 at 20:54 UTC ( #637756=scratchpad: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $rows = [
      [ map( get_opts(@$_), (['330000', 'dark', '5'], ['660033', 'dark', '
    +2'], ['990033', 'dark', '2'], ['cc0066', 'dark'],  ['ff0066'], ['ff33
    +99'], ['ff6699', '', '2'], ['ff99cc', '', '2'], ['ffcccc', '', '5']) 
    +) ],
    ...
      [ map( get_opts(@$_), (['660066', 'dark'],      ['990099', 'dark'], 
    +     ['cc00cc', 'dark'],      ['ff00ff', 'prime'], ['ff33ff'], ['ff66
    +ff'], ['ff99ff']) ) ],
      [ map( get_opts(@$_), (['660033', 'dark', '2'], ['990066', 'dark', '
    +2'], ['cc0099', 'dark'],      ['ff00cc'],          ['ff33cc'], ['ff66
    +cc', '', '2'], ['ff99cc', '', '2']) ) ],
      [ map( get_opts(@$_), (['cc0066', 'dark'],      ['ff0099'],         
    +     ['ff3399']) ) ],
    
  2. or download this
    my $r =  [ map [map get_opts(@$_), @$_], ...
    
  3. or download this
    my $noon = 12:00;
    
    ...
      'evening'   => { 'begin' => $dusk - 1, 'end' => $dusk + 1},
      'night'     => { 'begin' => $dusk + 1, 'end' => $dawn}
    );
    
  4. or download this
      my @monsters = map{chomp $_; $_} <$word_find_list>;
      my @items;
      for my $monster (@monsters) {
        push @items, [$monster, { class => 'monster_item' }];
      }
    
  5. or download this
      my @monsters = map { chomp $_; [$_, { class => 'monster_item' }] } <
    +$word_find_list>;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2015-05-22 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (461 votes), past polls