[Moose-commits] r7725 - Moose/trunk/lib/Moose
doy at code2.0beta.co.uk
doy at code2.0beta.co.uk
Thu Feb 19 04:07:42 GMT 2009
Author: doy
Date: 2009-02-18 20:07:41 -0800 (Wed, 18 Feb 2009)
New Revision: 7725
Modified:
Moose/trunk/lib/Moose/Exporter.pm
Log:
load exports from classes specified by 'also' first, so that subs locally specified by with_caller or as_is have the opportunity to override them (i.e. "export everything from Moose, except use my custom version of extends")
Modified: Moose/trunk/lib/Moose/Exporter.pm
===================================================================
--- Moose/trunk/lib/Moose/Exporter.pm 2009-02-19 01:03:38 UTC (rev 7724)
+++ Moose/trunk/lib/Moose/Exporter.pm 2009-02-19 04:07:41 UTC (rev 7725)
@@ -40,7 +40,7 @@
my ( $exports, $is_removable )
= $class->_make_sub_exporter_params(
- [ $exporting_package, @exports_from ], $export_recorder );
+ [ @exports_from, $exporting_package ], $export_recorder );
my $exporter = Sub::Exporter::build_exporter(
{
More information about the Moose-commits
mailing list