Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^5: reading and working with grow.out files

by mrguy123 (Hermit)
on Apr 24, 2012 at 08:15 UTC ( #966759=note: print w/replies, xml ) Need Help??

in reply to Re^4: reading and working with grow.out files
in thread reading and working with grow.out files

The sub function basically receives the file as input, and then parses the data into an array, or list. The list is returned as output and is easier to go over.
This type of file parsing is called slurp

Also, if you want to get better at Perl, I highly recommend this book.
It really helped me out when I started learning Perl, and it will give you many valuable tools when you need to process biological data.
Good luck
Mr Guy
  • Comment on Re^5: reading and working with grow.out files

Replies are listed 'Best First'.
Re^6: reading and working with grow.out files
by rmgzsm9 (Novice) on Apr 24, 2012 at 09:54 UTC


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966759]
[marto]: "no it's not that"...."weirdos "...
[marto]: List EXE_FILES installed by CPAN so a couple of people suggest that your code looks obfuscated. I'd have to ageree, from the perspective of those who can't follow all of that one liner, it doesn't read well
Veltro is a weirdo, obsessed with whitespace
[marto]: to use the word "obsession" when so few people have said so little about it is grasping at staws
marto wishes tye was around, he's so much better at this sort of thing
usemodperl likes tye!
usemodperl tye  too
[choroba]: Re^3: LiBXML: New markup while preserving earlier tags? would benefit from a couple of test cases
usemodperl meant tye 
usemodperl pokes Veltro with line noise

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2018-06-24 16:01 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.