ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk-beta
pdk-beta
RE: [PDK-Beta] PerlApp extract bound file problem
by Jan Dubois other posts by this author
Oct 12 2004 1:25PM messages near this date
view in the new Beta List Site
RE: [PDK-Beta] PerlApp extract bound file problem | RE: [PDK-Beta] PerlApp extract bound file problem
On Tue, 12 Oct 2004, Bullock, Howard A. wrote:
[...]
>  My understanding is that without the -clean option is NOT used and the
>  "extract" option is used on the "bind" line a directory (PDK-userID)
>  should be created in the user's %temp% directory. In this directory
>  the binary of "notepad.exe" should be extracted to this directory.

Only DLLs are extracted into the "shared" directory.  Bound data files
(and all the Tk graphics images) are always extracted to a "private" temp
directory, regardless of the --clean option.  And the private temp
directory should always be removed on process exit.

> 
>  When I inspect the directory (%temp%) this directory is not created
>  and no extracted file exists.

As Michael Nacey already mentioned, the file is deleted when the process
exits.  This is the documented behavior:

  PerlApp::extract_bound_file(FILENAME)

    Writes the content of a bound file to the filesystem. The file is
    created in a temporary directory and is automatically deleted when the
    application terminates.
    ...

You will have to use PerlApp::get_bound_file() and write it to disk yourself
if you want to write to a more permanent location.

All of this is unchanged from PDK 5.3.

Cheers,
-Jan
Thread:
Howard A. Bullock
Howard A. Bullock
Jan Dubois
Howard A. Bullock
Michael Nacey
Michael Nacey

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved