-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
# Copyright (C) 2007-2009 Martin A. Hansen.
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+use warnings;
use strict;
use Maasha::Biopieces;
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" } )
{