was Re: [PATCH: 6640] VMS Makefile.SH update (fwd)
[p5sagit/p5-mst-13.2.git] / lib / Exporter.pm
index 9a4382f..585109e 100644 (file)
@@ -42,12 +42,6 @@ sub import {
       $exports{$sym} = 1;
     }
   }
-  for (@_) {
-      #need to match first to avoid "Modification of a read-only value attempted"
-      if (/^\+/ and s/^\+//) {
-          (\&{"$pkg\::$_"})->(); #try AUTOLOAD now so calls are inlined
-      }
-  }
   if ($Verbose or $Debug 
       or grep {/\W/ or $args and not exists $exports{$_}
               or @fail and $_ eq $fail[0]
@@ -209,15 +203,6 @@ You can say C<BEGIN { $Exporter::Verbose=1 }> to see how the
 specifications are being processed and what is actually being imported
 into modules.
 
-=head2 Constants can be inlined
-
-AUTOLOADed constants can be inlined by prefixing them with a C<+>:
-
-   use Socket qw(+AF_INET);
-
-Thusly prefixed constants are defined during the symbol import phase of
-compilation, which means that by runtime they are true inlined constants.
-
 =head2 Exporting without using Export's import method
 
 Exporter has a special method, 'export_to_level' which is used in situations