Changeset 17801 for trunk/PS-IPP-Config/lib/PS/IPP/Metadata/Stats.pm
- Timestamp:
- May 23, 2008, 5:00:14 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Metadata/Stats.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Metadata/Stats.pm
r17800 r17801 1 1 # Copyright (c) 2006 Paul Price, Joshua Hoblitt 2 2 # 3 # $Id: Stats.pm,v 1.3 0 2008-05-24 02:56:01price Exp $3 # $Id: Stats.pm,v 1.31 2008-05-24 03:00:14 price Exp $ 4 4 5 5 package PS::IPP::Metadata::Stats; … … 12 12 use Carp qw( carp ); 13 13 use Statistics::Descriptive; 14 use Sys::Hostname;15 14 16 15 use PS::IPP::Config qw( … … 44 43 # add a hash for storage 45 44 foreach my $entry (@$entries) { 46 if ($entry->{type} eq "host") {47 $entry->{value} = hostname();48 next;49 }50 45 $entry->{data} = []; 51 46 } … … 94 89 my $type = $entry->{type}; 95 90 my $data = $entry->{data}; 96 97 if ($entry->{type} eq "host") {98 # Dealt with in new()99 next;100 }101 91 102 92 if ($type eq "constant") {
Note:
See TracChangeset
for help on using the changeset viewer.
