Hi Monks,

Nice day!!I am running this code in Activeperl 5.8,I have the following piece of code,
#!/bin/perl-w use DateTime; print"Hello world\n";
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,
C:\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.
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 error
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
I googled it to found in other site,Quite not found anywhere.Pls help me to solve this issue??

In reply to Why behaviour changes after converting to exe by madtoperl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.