In addition to toolic's fine advice sometimes I like to fully qualify the calls; exporting nothing. Especially where the module is used in a single point in a longish bit of code. Saves a trip/grep around. So-
use Date::Calc (); # 500 lines of unrelated fun. my @what_what = Date::Calc::Today_and_Now();
(update, added comment, fixed typo.)
In reply to Re: How do I use date::calc in a efficient way
by Your Mother
in thread How do I use date::calc in a efficient way
by rakheek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |