Take a scan of the O'Reiley book perl/Tk book. I have not seen it myself so maybe one of the other brothers can give you more detail.

As to runing an executable. Sure. But what do you hope to gain?

If you are trying to avoid perl installs. Well you can look at IndigoStar perl2exe

If you are avoiding some typing, then for windows you can put the path to your perl binary in your environmental path and then create a file association.

To associate a file extension with a file type Open Folder Options in Control Panel. Click the File Types tab. Click New. Type a new or existing file name extension, and then click Advanced. In File type, click New to create a new file type that is associated w +ith the file name extension. Or, click one of the existing file types +.

I think all you need is : PL Perl File and PLS PERLSCRIPTFILE

I don't have my regular computer or my books at the moment

UPDATE

Now that I have my book. You need to associate the .PL extenstion: assoc .pl=PerlFile

Next, Register PerlFile type with the Perl binary by entering: ftype PerlFile=c:\perl\bin\perl.exe "%1" %* Or where ever you installed Perl.

Finally, add the .PL to the list of executable extensions. For W2K that is PATHEXT. Simpley add: .PL; to the front of the list

after that you don't need to enter perl file or even the .pl


In reply to Re: Building Applications in Perl by Marza
in thread Building Applications in Perl by Anonymous Monk

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.