Mercio has asked for the wisdom of the Perl Monks concerning the following question:
return bless { 'hits' => { %hits }, 'hosts' => { %hosts }, 'hitsByDate' => { %hitsByDate }, 'hitsByTime' => { %hitsByTime }, 'hitsByDateTime' => { %hitsByDateTime }, 'visitsByDate' => { %visitsByDate }, 'visitsByTime' => { %visitsByTime }, 'visitsByDateTime' => { %visitsByDateTime }, 'methods' => { %methods }, };
my $al = new Apache::LogParser; my $log = $al->getAccessLog(); my %hits = $log->hits;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Returning in a module
by borisz (Canon) on Jul 08, 2004 at 21:39 UTC | |
|
Re: Returning in a module
by tachyon (Chancellor) on Jul 08, 2004 at 23:35 UTC | |
|
Re: Returning in a module
by ysth (Canon) on Jul 08, 2004 at 22:16 UTC | |
|
Re: Returning in a module
by Mercio (Scribe) on Jul 09, 2004 at 04:07 UTC |