I am just starting with PAR and got a few questions after reading the
docs:
I want to distribute an application + data files both packaged and
unpackaged. Can a script know whether it's being running from within a
PAR file to decide how to read the data files?
If the application itself was a PAR file foo.par containing the
executable foo.pl, and that application was bundled with data files in
a second PAR bar.par, is there a way to execute foo.pl when bar.par is
called?
This application will need to recreate some dir tree in disk (data
files). Can packaged programs leverage PAR's temp dir somehow or would
it be better to read_file() and manage a custom temp dir by hand?
Are paths to files in PAR archives using forward slashes portable?
-- fxn
PS: Just to give context, the application is an HTML presentation
framework I plan to write with facilities for include listings, execute
code and capture its output, in presentation time. The idea is to let
authors distribute presentations as self-contained PAR files with the
presentation engine bundled.
- Re: a few doubts Xavier Noria
- Re: a few doubts Alan Stewart
- Re: a few doubts Xavier Noria
- Re: a few doubts Alan Stewart
- Re: a few doubts Autrijus Tang
- caching Jesse Schoch
- Re: caching Autrijus Tang
- Re: caching Alan Stewart
- RE: caching Jesse Schoch
- Re: caching Autrijus Tang
- Re: a few doubts Nicholas Clark
