Restrict the import
The user (the script writer) can restrict the list of imported functions but the unsuspecting script write will still get all the functions.
#!/usr/bin/perl
use strict;
use warnings;
use lib 'examples/modules';
use A::Calc qw(add);
print add(2, 3), "\n";