Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: reading in different sizes of matrix

by RichardK (Parson)
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1079725]
[marto]: good morning all
[Corion]: Hi marto!
[Corion]: I hope all is well marto! ;) My godson had a surprise visit to the hospital yesterday because he fell and had cut his skin besides his eye, but everything was glued together again and all is well

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2016-12-08 09:17 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (137 votes). Check out past polls.