> Edward Peschko writes: > > When I'm trying to debug a given, standalone executable app using > perlapp (ie: after I am done creating it) the resulting app doesn't > seem to have an @INC to do tracing. I get output like the following: > > Can't locate feature.pm in @INC (@INC contains:) at perlapp line 688. > at perlapp line 688
The empty @INC is fine; you are running a freestanding executable. The problem is that PerlApp didn't recognize that it needs to bundle the feature.pm pragma (it is being loaded implicitly by 'use 5.010'). You can work around it by explicitly adding it with '--add feature' on the commandline. > (note: I'm on a drive other than C: when doing this) > > Also, is there any trick to getting bound files? I'm putting image > files into directories, say: > > "images/files/border.gif" > > binding these with --bind, and then trying to retrieve the > contents with > > PerlApp::extract_bound_file("images/files/border.gif"); How did you bind that file? Did you write: --bind images/files/border.gif[file=.../path/to/border.gif] Make sure you use the exact same name for --bind and extract_bound_file(). The name lookup inside PerlApp is case sensitive. > but for some reason, it doesn't locate the above file, returning > blank.. Is there a way to see all bound files to a given program (ie: > an PerlApp::ls() for example.) No, there is no mechanism to do that. The assumption is that you know which files you are binding. If the list of bound files changes between builds, then you can always bind some kind of manifest file yourself to help your application to look them up again. Cheers, -Jan PS: I would recommend to post PerlApp related questions on the PDK mailing list where you'll find other PDK users who may be able to help you... _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs