When i run the above code in .pl file,it is working fine.But when i converted it to exe file by using par module and running the exe file,it is showing the message that en_US.pm moudle not found as shown below,#!/bin/perl-w use DateTime; print"Hello world\n";
Could anyone explain me why its behaviour changes when converted to exe file.Also when i tried to install the en_US module by using ppm,i found the following errorC:\Perl\bin>perdate.exe Can't locate DateTime/Locale/en_US.pm in @INC (@INC contains: CODE(0xd +facec) C:\ DOCUME~1\regan\LOCALS~1\Temp\par-regan\cache-1154325548/inc/lib C:\DOC +UME~1\rega n\LOCALS~1\Temp\par-regan\cache-1154325548/inc CODE(0xceaa3c) .) at (e +val 14) li ne 3. Compilation failed in require at script/perdate.pl line 2. BEGIN failed--compilation aborted at script/perdate.pl line 2.
I googled it to found in other site,Quite not found anywhere.Pls help me to solve this issue??C:\Perl\bin>ppm install en_US Error: Failed to download URL http://www.soulcage.net/ppds.58/en_US.pp +d: 404 No Found
In reply to Why behaviour changes after converting to exe by madtoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |