http://www.perlmonks.org?node_id=564699


in reply to Why behaviour changes after converting to exe

the en_US.pm file is part of the DateTime::Locale distribution. Try to add the module to the PAR archive manually:

pp -M DateTime::Locale -o script.exe script.pl

Replies are listed 'Best First'.
Re^2: Why behaviour changes after converting to exe
by syphilis (Archbishop) on Jul 31, 2006 at 07:35 UTC
    pp -M DateTime::Locale -o script.exe script.pl

    That doesn't work for me ... close, but not quite. I found I had to specifically load DateTime::Locale::en_US:
    pp -M DateTime::Locale::en_US -o script.exe script.pl
    Cheers,
    Rob
    A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.