in reply to Perl confusion

Welcome to PerlMonks!

Please read How do I compose an effective node title?, How do I post a question effectively? and Markup in the Monastery for more effective posting.

That out of the way though, you’re best off consulting perldoc -f split about the split function (and play around with it, it’s fun), perldoc perlsyn about Foreach Loops and perldoc perlop about mathematical (and other) operators.

Have fun!

Replies are listed 'Best First'.
Re^2: Perl confusion
by stamp1982 (Novice) on Jun 26, 2013 at 22:21 UTC
    Ralesk, I would be able to perform for each loop, print average and split. My real confusion is how to obtain the sequence length separated by white space in perl and that is what I need clarification on. Thanks!