Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Optimization for readability and speed (code)

by deprecated (Priest)
on Apr 30, 2001 at 22:15 UTC ( #76689=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub is_ms_num {
    
    ...
      # looks like its good, return it.
      return $string;
    }
    
  2. or download this
    sub atomize {
      my $string = shift;
    ...
      }
      return undef;
    }
    
  3. or download this
          if ($header =~ /^[Ss]ubject/) {
            my ($words, $strings) = atomize( $header );
            $key = search_ms_nums(@{$words}) || search_ms_nums(@{$strings}
    +);
          }
    
  4. or download this
    sub is_ms_num_re {
      my $rval = shift;
    ...
        undef;
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://76689]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2014-12-27 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls