IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2007, 6:16:20 PM (19 years ago)
Author:
eugene
Message:

handle missing value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Config/lib/PS/IPP/Metadata/Stats.pm

    r14013 r14040  
    11# Copyright (c) 2006  Paul Price, Joshua Hoblitt
    22#
    3 # $Id: Stats.pm,v 1.18 2007-07-04 23:57:12 eugene Exp $
     3# $Id: Stats.pm,v 1.19 2007-07-06 04:16:20 eugene Exp $
    44
    55package PS::IPP::Metadata::Stats;
     
    138138            $self->_parse_metadata_stats($entry->{value});
    139139        }
    140         print STDERR "found $entry->{name} : $entry->{value}\n";
     140        if (defined $entry->{value}) {
     141            print STDERR "found $entry->{name} : $entry->{value}\n";
     142        }
    141143        $self->_check_values($entry);
    142144   }
Note: See TracChangeset for help on using the changeset viewer.