X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FApp%2FFatPacker.pm;fp=lib%2FApp%2FFatPacker.pm;h=75ba087a78e4821efb4f6fbbe2f523257b78c5c9;hb=cb50b68f68147a118d4dfafcbab3f2fa0cddcf44;hp=e4ca0aa7ee8b0dc46ff3900473ebad4302af1cca;hpb=24b4367ec49fb45ad0a6200d4062799fafcf5ee8;p=p5sagit%2FApp-FatPacker.git diff --git a/lib/App/FatPacker.pm b/lib/App/FatPacker.pm index e4ca0aa..75ba087 100644 --- a/lib/App/FatPacker.pm +++ b/lib/App/FatPacker.pm @@ -250,6 +250,9 @@ App::FatPacker - pack your dependencies onto your script file $ fatpack tree `cat packlists` $ (head -n1 myscript.pl |grep '^#!'; fatpack file; cat myscript.pl) >myscript.packed.pl +The C code pulls out the Unix shebang +line, if there is one, and injects it at the start of the packed script. + See the documentation for the L script itself for more information. The programmatic API for this code is not yet fully decided, hence the 0.9