in reply to localtime shows array reference

Add
print "$_\n", for %INC;
And you'll see which modules are automatically loaded, I'm guessing Time::localtime

Running perl -V would show something like

...
  Built under MSWin32
  Compiled at Oct 16 2010 05:10:19
  %ENV:
    PERL5LIB="fafafafa"
    PERL5OPT="-MTime::localtime"
  @INC:
    fafafafa
    C:/perl/site/5.12.2/lib/MSWin32-x86-multi-thread
    C:/perl/site/5.12.2/lib
    C:/perl/5.12.2/lib/MSWin32-x86-multi-thread
    C:/perl/5.12.2/lib
    .