If I import a library to use a method, would it be worth it? Does importing take up a lot of memory?
borrowed from here
%mon2num = qw(
jan 1 feb 2 mar 3 apr 4 may 5 jun 6
jul 7 aug 8 sep 9 oct 10 nov 11 dec 12
);
and to retrieve
$mon2num{"jan"}