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

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, 
  • Comment on Re^4: reading and working with grow.out files

Replies are listed 'Best First'.
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


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966755]
[Tux]: None work for me. My dead key is AltGr (right Alt)
[Tux]: And I just tested, neither do other Tk apps :) (95% of my Tk Apps is either just monitoring (no input) or input of just numbers). Something to investigate then
[choroba]: Maybe something like this?
[choroba]: I vaguely remember we had problems with dead keys in Tk at $work - 2, but I forgot all the details
[choroba]: but it was worse on MSWin than on Linux
[choroba]: (and OSX didn't exist yet)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-09-25 20:45 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (290 votes). Check out past polls.