IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 30, 2006, 3:43:18 PM (20 years ago)
Author:
jhoblitt
Message:

check the return result of PS::IPP::Metadata::Config->parse()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/phase0imfile.pl

    r8710 r8715  
    6767    # Parse the output
    6868    my $mdcParser = PS::IPP::Metadata::Config->new;        # Parser for metadata config files
    69     my $metadata = $mdcParser->parse(join "", @$stdout_buf);
     69    my $metadata = $mdcParser->parse(join "", @$stdout_buf)
     70            or die "unable to parse metadata config doc";
    7071    my @constants = keys %{CONSTANTS()}; # List of constants to parse out
    7172    my @variables = keys %{VARIABLES()}; # List of variables to parse out
Note: See TracChangeset for help on using the changeset viewer.