[ic] Filter not working after Perl reinstall

Peter peter at pajamian.dhs.org
Tue Aug 30 19:23:59 UTC 2011


On 31/08/11 07:18, Stefan Hornburg (Racke) wrote:
> 1. Put "use Date::Manip" before sub { ... }
> 2. If that doesn't help, call Date::Manip::UnixDate instead of just
> UnixDate.

What I would normally do is put "use Date::Manip ();" before "sub {" and
"use Date::Manip qw{UnixDate};" just after.  That should make sure that
DateManip is available locally in your sub but doesn't splatter the
namespace of other subs.


Peter



More information about the interchange-users mailing list