PerlApp module to include with packaged scripts
by Edward Peschko other posts by this author
Apr 14 2008 11:03PM messages near this date
RE: problem with a PDK exe on Vista
|
Jonathan S. Polacheck/AUSTIN/THE_FUND is out of the office.
hey all,
I was wondering why there wasn't a PerlApp module that you could import...
I'd like to make a script that could either run in or out of an archive, and
would like to use the extract_bound_file functionality with PerlApp..
However, I'm forced to wrap everything via a conditional check whether or
not I'm in a perl application or not - hence I litter my code with stuff
like:
if (-e $stuff) { return ($stuff); } else
(return(PerlApp::extract_bound_file(_basename($stuff)) }
I guess I could write a wrapper of my own (on whether or not I'm in a
perlapp (or perltray, etc) but I'd rather inherit a standard. Is there
something that already does this in the PDK?
Ed
|