use, require and import



require Math::Calc;


use Math::Calc qw(add);


BEGIN {
    require Math::Calc;
    Math::Calc->import( qw(add) );
}


if ($holiday) {
    use Vaction::Mode;
}

The above does not make much sense as the use will load the module at compile time regardless of day.


if ($holiday) {
    require Vacation::Mode;
    Vacation::Mode->import;
}

And we don't even need to call import() if we don't care about that.