]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/uniq_vals
removed debug message
[biopieces.git] / bp_bin / uniq_vals
index c9bf842bc78a4a2e409bcd12a870dc8c6da25a97..c9af962ad6b5a58ec21e1cac6c2132eb31734316 100755 (executable)
@@ -26,6 +26,7 @@
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
+use warnings;
 use strict;
 use Maasha::Biopieces;
 
@@ -47,7 +48,7 @@ $out = Maasha::Biopieces::write_stream( $options->{ "stream_out" } );
 
 while ( $record = Maasha::Biopieces::get_record( $in ) ) 
 {
-    if ( $record->{ $options->{ "key" } } )
+    if ( exists $record->{ $options->{ "key" } } )
     {
         if ( not $hash{ $record->{ $options->{ "key" } } } and not $options->{ "invert" } )
         {