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
pdk
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

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