Changeset 32340
- Timestamp:
- Sep 6, 2011, 11:02:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/PS-IPP-Config/lib/PS/IPP/Config.pm
r30744 r32340 40 40 metadataLookupBool 41 41 metadataLookupS32 42 metadataLookupF32 42 43 caturi 43 44 file_scheme … … 1576 1577 } 1577 1578 1579 # Lookup the metadata, checking the type is F32 1580 sub metadataLookupF32 1581 { 1582 my $item = metadataLookup(@_); 1583 return undef if not defined $item; 1584 my $name = shift; # Name of item 1585 carp "$name within metadata is type $item->{type} not F32.\n" unless $item->{type} eq "F32"; 1586 return $item->{value}; 1587 } 1588 1578 1589 # Lookup the metadata, checking the type is MD 1579 1590 sub metadataLookupMD
Note:
See TracChangeset
for help on using the changeset viewer.
