Penguin

Differences between current version and predecessor to the previous major change of perlmod(1).

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Monday, June 3, 2002 6:50:48 pm by perry
Older page: version 1 Last edited on Monday, June 3, 2002 6:50:48 pm by perry Revert
@@ -420,11 +420,11 @@
  
 The two statements: 
  
  
- require SomeModule; 
+ require ! SomeModule; 
 require 
-differ from each other in two ways. In the first case, any double colons in the module name, such as Some::Module, are translated into your system's directory separator, usually ``/''. The second case does not, and would have to be specified literally. The other difference is that seeing the first require clues in the compiler that uses of indirect object notation involving ``SomeModule'', as in $ob = purge SomeModule, are method calls, not function calls. (Yes, this really can make a difference.) 
+differ from each other in two ways. In the first case, any double colons in the module name, such as Some::Module, are translated into your system's directory separator, usually ``/''. The second case does not, and would have to be specified literally. The other difference is that seeing the first require clues in the compiler that uses of indirect object notation involving ``! SomeModule'', as in $ob = purge ! SomeModule, are method calls, not function calls. (Yes, this really can make a difference.) 
  
  
 Because the use statement implies a BEGIN 
 block, the importing of semantics happens as soon as the 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.