Subject: [LON-CAPA-dev] this is ridiculous

From: Scott Harrison <[email-masked]>
Date: Sun, 2 Feb 2003 11:56:07 -0500

Truly amazing (from searchcat.pl).

Why bother with %metacache and $uri inside this subroutine?

sub metadata {
    my ($uri,$what)=@_;
    my %metacache;
    $uri=&declutter($uri);
    my $filename=$uri;
    $uri=~s/\.meta$//;
    $uri='';
    unless ($metacache{$uri.'keys'}) {

I am cleaning up this script.

-- 
Scott Harrison, [email-masked]