Add a bit of documentation about the shebang extraction/injection
[p5sagit/App-FatPacker.git] / lib / App / FatPacker.pm
index e4ca0aa..75ba087 100644 (file)
@@ -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<head -n1 myscript.pl |grep '^#!'> 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<fatpack> script itself for more information.
 
 The programmatic API for this code is not yet fully decided, hence the 0.9