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
      if ($show =~ s/^\!//) {
        $episodenum = 1;
    ...
      else {
        $episodenum++;
      }
    
  2. or download this
    if ($user_time < $dawn) {  
      $daypart = 'night';
    ...
    else {
      $daypart = 'evening';
    )
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
      'evening'   => { 'begin' => tmath($dusk, -1) , 'end' => tmath($dusk,
    +  1) },
      'night'     => { 'begin' => tmath($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 avoiding work at the Monastery: (6)
As of 2016-05-29 17:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?