So i was bored and wanted to know more, and searched around.

The comments from Anonymous Monk and kcott seen very on target, specifically using -a rather than -l

I do still think you will need to include some sort of Tkx::lappend and Tkx::package_require statements but where should the lappend point to?

my first clue came in http://www.perl.com/pub/2007/07/ "A further consideration here is PAR , the tool for creating standalone executables from Perl programs. PAR lets you include data files as well as Perl code, so you can bundle a default settings file using a command such as:

pp hello -o hello.exe -a hello.conf
which will be available to your script as $ENV{PAR_TEMP}/inc/hello.conf."

But i kept searching, i may want to use pp sometime myself, and got to http://cpansearch.perl.org/src/RSCHUPP/PAR-Packer-1.036/contrib/docs/where_is_it.txt. Pay particular attention to the sections begining "So much for program components. What if we want to put some data files intothe PAR package?" and then the section begining "So how can I access the files I added with -a or -A ?" and how the clean option modifies what is "unzipped". This will detail what you want to append to $ENV{PAR_TEMP} in the Tkx::lappend call depending on the stuff after the semi-colon in the -a option. I still suspect you will then need the Tkx::package_require('tkdnd'); call.

Good luck


In reply to Re: TkDND with PAR::Packer by huck
in thread TkDND with PAR::Packer 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.