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/mdc2list.pl

    r8115 r8715  
    3434my @input = <$inFile>;          # Contents of the metadata config file
    3535my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files
    36 my $md = $mdcParser->parse(join "", @input); # The parsed metadata
     36my $md = $mdcParser->parse(join "", @input)
     37        or die "unable to parse metadata config doc";
    3738my $hashes = mds2hashes($md);   # An array of hashes
    3839foreach my $pending (@$hashes) {
Note: See TracChangeset for help on using the changeset viewer.