httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: httpd-docs-1.3/apidoc/tools testdict.pl
Date Fri, 22 Jun 2001 21:23:45 GMT
coar        01/06/22 14:23:45

  Added:       apidoc/tools testdict.pl
  Log:
  	A simple test for the dictionary module..
  
  Revision  Changes    Path
  1.1                  httpd-docs-1.3/apidoc/tools/testdict.pl
  
  Index: testdict.pl
  ===================================================================
  #!/usr/local/bin/perl -w
  
  use APIdict;
  
  $dict = new APIdict;
  
  $dict->readfile("api.list");
  
  @elist = $dict->entity_list();
  
  ($scratch, $n2) = @elist;
  
  print "Entity '$n2':\n";
  print " defined:          " . $dict->defined($n2) . "\n";
  print " Category:         " . $dict->category($n2) . "\n";
  print " Category name:    " . $dict->category_name($dict->category($n2)) . "\n";
  print " See-Also:         " . $dict->see_also($n2) . "\n";
  print " Description file: " . $dict->description_file($n2) . "\n";
  print " Description:\n"     . $dict->description($n2) . "\n";
  print " Definition:\n"      . $dict->definition($n2) . "\n";
  print " Example:\n"         . $dict->example($n2) . "\n";
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: apache-docs-unsubscribe@apache.org
For additional commands, e-mail: apache-docs-help@apache.org


Mime
View raw message