NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Bundling using PAR (Score:1)
Although not a CamelBones app, Blue Coconut [husk.org] includes a lot of Perl libraries. I use the following Shell Script step in Xcode to use PAR to bundle the required resources:
pp -I ./perl_lib -p -o BlueCoconut.par BlueCoconut.pl && unzip -o BlueCoconut.par -d par && rm -rf build/Blue\ Coconut.app/Contents/Resources/perl_lib && mv par/lib build/Blue\ Coconut.app/Contents/Resources/perl_lib && rm -rf par
Step by step: use pp (PAR packager) to make a PAR file for BlueCoconut.pl;
Re:Bundling using PAR (Score:2)
Re:Bundling using PAR (Score:1)
BEGIN {my $lib = File::Spec->catfile($Bin, "perl_lib");
unshift @INC, $lib;
}
Also, the use of (I think) -I means that I don't get a full executable, but a zipfile. (I really s
Can I steal this for the CB web site? (Score:1)
BTW, the first step (removing and replacing the framework, and adding the "copy files" build phase) shouldn't be necessary with the latest 1.0 beta, released last week. I updated the project templates to use the embedded framework by default - I'll double-check to verify that the latest templates are included in the package.
Re:Can I steal this for the CB web site? (Score:2)
I didn't know the first step was already done - I simply followed advice found on the mailing list somewhere. Though you do have to do the "Copy Files" stage for the framework.