Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Why does this happen?

by Transient (Hermit)
on Aug 17, 2005 at 20:34 UTC ( [id://484582]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $qbase ( @qbase ) {
      if ( uc($qbase) eq 'N' ) {
    ...
        ++$ncount;
      }
    }
    
  2. or download this
      do { $ncount++ if /n/i } foreach ( @qbase, @sbase );
    
  3. or download this
    foreach my $idx ( 1..$#query_sequence ) {
      if ( $query_sequence[$idx] =~ /n/i && $subj_sequence[$idx] !~ /n/i )
    + {
    ...
        $ncount++;
      }
    }
    
  4. or download this
    $ncount = grep { ($qbase[$_] =~ /n/i && $sbase[$_] !~ /n/i) || ($qbase
    +[$_] !~ /n/i && $sbase[$_] =~ /n/i) } 1..$#qbase;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://484582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-29 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found