Patch for 'perldoc -f'
authorGisle Aas <gisle@aas.no>
Sun, 6 Apr 1997 17:32:04 +0000 (19:32 +0200)
committerChip Salzenberg <chip@atlantic.net>
Fri, 4 Apr 1997 00:00:00 +0000 (00:00 +0000)
private-msgid: 199704061732.TAA00353@bergen.sn.no

utils/perldoc.PL

index 7febd01..feb1366 100644 (file)
@@ -289,7 +289,7 @@ if ($opt_f) {
           print @pod;
        }
    } else {
-       die "No documentation for perl function `$func' found\n";
+       die "No documentation for perl function `$opt_f' found\n";
    }
    exit;
 }