Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Use of Uninitialized Value- Multiple Errors

by poj (Abbot)
on May 28, 2019 at 19:00 UTC ( [id://11100662]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Use of Uninitialized Value- Multiple Errors
in thread Use of Uninitialized Value- Multiple Errors

If @fix is only used in that loop consider removing it.

for my $i (0 .. $chrsize{$chr}) { $index{$k} = "$chr\t$i"; $score[$k] = $piRNA{$chr}{$i} - $penalty; if ( defined $breakpoint{$chr}{$i} && $breakpoint{$chr}{$i}==1 ){ $S[$k] = 0; } else { if ($i == 0) { $S[$k] = $score[$k]; } else { $S[$k] = $S[$k-1]+$score[$k]; } $S[$k] = 0 if $S[$k]<0; } $k++; }
poj

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-03-29 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found