Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Check even numbers?

by cees (Curate)
on Aug 07, 2006 at 05:02 UTC ( #565891=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $str = 'ABABAABBA';
    $count = $str =~ tr/A//;  # $a = 5;
    
  2. or download this
    if ($count && !($count & 1)) {
      # Do something with this protein sequence
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://565891]
help
Chatterbox?
[stevieb]: went for a long hike in the mountains today while the weather is hovering just about freezing. I think tomorrow I'm going to huddle up and do a good read through perlguts

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-01-22 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (186 votes). Check out past polls.