in reply to Annoying error although module is installed

You're not importing the method before you use it.

use Statistics::Basic::StdDev 'stddev';
Untested... could also be:
use Statistics::Basic 'stddev';

Hope this helps!

edit: tangent's answer is more complete.


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Annoying error although module is installed
by Anonymous Monk on Feb 29, 2016 at 00:21 UTC
    Thank you very much!