X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=bin%2Ffatpack;h=1dfc7d878242d39bac1e4cfb49178bfaaf06834f;hb=bedd77c65682815723b5972a79624c91bde6ad42;hp=c6d7235383793004389532ca11f76e144c04d5d4;hpb=6da38a2d34b83e2ced743b09b0c87df67c0f19fa;p=p5sagit%2FApp-FatPacker.git diff --git a/bin/fatpack b/bin/fatpack index c6d7235..1dfc7d8 100755 --- a/bin/fatpack +++ b/bin/fatpack @@ -13,7 +13,7 @@ fatpack - Command line frontend for App::FatPacker $ fatpack pack myscript.pl > myscript.packed.pl A shortcut to do all the work of tracing, collecting packlists, -extracting modules in fatlib, then concatinating into a packed script +extracting modules in fatlib, then concatenating into a packed script - in one shot. If you need more detailed controls for additional modules, use the following commands separately (see L). @@ -74,10 +74,7 @@ Current basic recipe for packing: $ fatpack trace myscript.pl $ fatpack packlists-for `cat fatpacker.trace` >packlists $ 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. + $ fatpack file myscript.pl >myscript.packed.pl =head1 COPYRIGHT, LICENSE, AUTHOR