Add POD encoding declaration
[p5sagit/App-FatPacker.git] / lib / App / FatPacker.pm
index 01aed5e..03d28fb 100644 (file)
@@ -196,6 +196,7 @@ sub script_command_file {
       $files{File::Spec::Unix->abs2rel($File::Find::name,$dir)} = do {
         local (@ARGV, $/) = ($File::Find::name); <>
       };
+      close ARGV;
     }, $dir);
   }
   my $start = stripspace <<'  END_START';
@@ -228,6 +229,8 @@ sub script_command_file {
   print join "\n", $start, @segments, $end;
 }
 
+=encoding UTF-8
+
 =head1 NAME
 
 App::FatPacker - pack your dependencies onto your script file