Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by rmgzsm9 (Novice)
on Apr 24, 2012 at 07:39 UTC ( #966755=note: print w/ replies, xml ) Need Help??


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

Can I ask you for a stupid type of help? Can you explain me the program as I am new to Perl programming. I just need to know how sub-function is working?

Thanks and Regards, 
 Rmgzsm9


Comment on Re^4: reading and working with grow.out files
Re^5: reading and working with grow.out files
by mrguy123 (Hermit) on Apr 24, 2012 at 08:15 UTC
    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

      Thanks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-07-24 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls