Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: reading in different sizes of matrix

by RichardK (Priest)
on Mar 25, 2014 at 18:59 UTC ( #1079725=note: print w/ replies, xml ) Need Help??


in reply to reading in different sizes of matrix

Well for a start you're not setting $line to anything.

Try something along these lines :-

while (my $line = <MOTIFS>) { chomp $line; ... }

It's worth reading the Basic Debugging Checklist - or how to find out what's going on when your code doesn't work.


Comment on Re: reading in different sizes of matrix
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-09-22 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (182 votes), past polls