http://www.perlmonks.org?node_id=1001948


in reply to Why is the List upload with STDIN from a text file giving wrong result for mean?

Have you looked at the contents of @array?

Maybe it helps you if you explain what @array=split('',$list); is supposed to do, and compare that with the documentation of split.

Replies are listed 'Best First'.
Re^2: Why is the List upload with STDIN from a text file giving wrong result for mean?
by supriyoch_2008 (Monk) on Nov 02, 2012 at 14:14 UTC

    Corion

    Thanks