Changeset 31907 for trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
- Timestamp:
- Jul 19, 2011, 1:33:38 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
r30744 r31907 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.
