Less indirect object notation
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 11 Jul 2007 07:48:46 +0000 (07:48 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 11 Jul 2007 07:48:46 +0000 (07:48 +0000)
p4raw-id: //depot/perl@31585

pod/perlfunc.pod

index c3df291..c96596f 100644 (file)
@@ -6814,7 +6814,7 @@ Imports some semantics into the current package from the named module,
 generally by aliasing certain subroutine or variable names into your
 package.  It is exactly equivalent to
 
-    BEGIN { require Module; import Module LIST; }
+    BEGIN { require Module; Module->import( LIST ); }
 
 except that Module I<must> be a bareword.