IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 23, 2008, 5:00:14 PM (18 years ago)
Author:
Paul Price
Message:

OK, not such a useful idea --- it can't deal with when we die with an error code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Config/lib/PS/IPP/Metadata/Stats.pm

    r17800 r17801  
    11# Copyright (c) 2006  Paul Price, Joshua Hoblitt
    22#
    3 # $Id: Stats.pm,v 1.30 2008-05-24 02:56:01 price Exp $
     3# $Id: Stats.pm,v 1.31 2008-05-24 03:00:14 price Exp $
    44
    55package PS::IPP::Metadata::Stats;
     
    1212use Carp qw( carp );
    1313use Statistics::Descriptive;
    14 use Sys::Hostname;
    1514
    1615use PS::IPP::Config qw(
     
    4443    # add a hash for storage
    4544    foreach my $entry (@$entries) {
    46         if ($entry->{type} eq "host") {
    47             $entry->{value} = hostname();
    48             next;
    49         }
    5045        $entry->{data} = [];
    5146    }
     
    9489        my $type = $entry->{type};
    9590        my $data = $entry->{data};
    96 
    97         if ($entry->{type} eq "host") {
    98             # Dealt with in new()
    99             next;
    100         }
    10191
    10292        if ($type eq "constant") {
Note: See TracChangeset for help on using the changeset viewer.