Hi Patrick,

I was looking at the Callback docs from 0.48_92, and I think they could use a 
clarification on require() and a correction on require_file() and require_module().

 -Ken


--- Java/Callback.pod~  2004-04-21 08:20:44.000000000 -0500
+++ Java/Callback.pod   2004-05-26 10:09:55.000000000 -0500
@@ -121,8 +121,9 @@
 =item public Object require(String module_or_file) 
 throws InlineJavaPerlException, InlineJavaException
       
-Requires the specified module/file by using the proper
-construct.
+Requires the specified module/file by using a heuristic (currently,
+checks whether or not the file exists) and calling Perl's C<require>
+function using the appropriate construct.
 
    /* Example */
    require("Someting")
@@ -133,7 +134,7 @@
 Requires the specified file.
 
    /* Example */
-   require("./my_stuff.pl") ;
+   require_file("./my_stuff.pl") ;
 
 =item public Object require_module(String module) 
 throws InlineJavaPerlException, InlineJavaException
@@ -141,7 +142,7 @@
 Requires the specified module.
 
    /* Example */
-   require("Data::Dumper";) ;
+   require_module("Data::Dumper";) ;
 
 =back
 

Reply via email to