You may wish to read perl2exe -gui fails.

It would be well to read How do I post a question effectively? and to use search.

And it would be best to be more specific about "a problem like this" if you have hope of specific help.

Update: A visit to Indigo appears to confirm your "assumption" that a working Perl program converted to an .exe should work on any machine (1): "(Perl2Exe) allows you to create stand alone programs in perl that do not require the perl interpreter.... Perl2Exe can generate executables for Windows and Unix target hosts."

Note, however, that "Perl2Exe for Windows requires an installation of Perl on your machine."

1: Indigo is specific in saying that some of its aps support Vista. I found no such note re Perl2Exe. Rather, there is this statement: "Perl2Exe for Win32 is a 32-bit Windows console application, and requires any 32-bit version of Windows, including 95/98/ME/NT/2000/XP." Note the lack of a Vista cite. Could Vista be your problem?


In reply to Re: Weird problem when converting pl file to exe by ww
in thread Weird problem when converting pl file to exe by rsriram

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.