in reply to Annoying error although module is installed

In addition to the import techniques described above you may instead specify the module in the call:

use Statistics::Basic::StdDev; my $stddev = Statistics::Basic::StdDev::stddev(1,2,3); print $stddev."\n";

which helps maintenance in a large script by making it clear where stddev comes from.

Premature optimization is the root of all job security