Hi,
Try this out  pp -o out.exe -e 'print "Hi!"' If this works
fine then all others should also work fine.
couldn't find diagnostic data in D:\cpanrun\build\5-8-0\lib/pods/perldiag.pod CODE(0xe336d0) CODE(0xd3a158) . li3.exe at C:/Perl/lib/Diagnostics.pm line 249, <POD_DIAG> line 24739. Compilation failed in require at script/li2.pl line 7, <POD_DIAG> line 24739. BEGIN failed--compilation aborted at script/li2.pl line 7, <POD_DIAG> line 24739"

just chk whether you have this file in the specified place
D:\cpanrun\build\5-8-0\lib/pods/perldiag.pod
The error states hlaf of the path in unix and other half in
windows. May be try to install perl from the active
state if u have a perl from the cpan.
Thanks
Sasi Kumar

In reply to Re: stand alone executable using "pp -o" wont stand alone! by sasikumar
in thread stand alone executable using "pp -o" wont stand alone! by Plotinus

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.