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?
Not sure what you mean? Call a data file?
You have a program in a PAR file, say halk.par contains main.pl.
Then you want to distribute halk.par with additional data files in a second PAR file, called presentation.par. That second PAR contains halk.par as a single file. Is there a direct way to call presentation.par so that the main.pl inside halk.par gets executed?
Otherwise, I would think some workaround.
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?
$ENV{PAR_TEMP} gives you the temp dir in use. You could always unzip all of bar.par
there if you like. You would have to do subdir cleanup if you want "pp -C" to work.
Hmmmm... so -C does not delete the temp dir recursively?
-- fxn
