in reply to Re: Mean and standard deviation loop
in thread Mean and standard deviation loop

Hi roboticus, Thanks for your help, can l ask what the parse_line subroutine is?

Replies are listed 'Best First'.
Re^3: Mean and standard deviation loop
by roboticus (Chancellor) on Jun 17, 2012 at 15:03 UTC

    SixShot:

    Sure, it's just a routine to pull out the value(s) you're interested in. In your case, you could probably use split and adjust the variable names on the left to represent the value(s) you want. You can use 'undef' for the columns holding values you don't care about, or just give them names. I frequently do the latter for documentation (so I don't have to look up the file format to figure out what a particular column is in case I want to modify the program).

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.