From: Dave Rolsky Date: Mon, 25 Jul 2011 18:16:45 +0000 (-0500) Subject: Fix up weird indentation in code example (3-space indent?) X-Git-Tag: 2.0300~129 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b183ca44921bc96f7eb880632f4bbd2501678e7c;p=gitmo%2FMoose.git Fix up weird indentation in code example (3-space indent?) --- diff --git a/lib/Moose/Exporter.pm b/lib/Moose/Exporter.pm index 91f7846..9bf666c 100644 --- a/lib/Moose/Exporter.pm +++ b/lib/Moose/Exporter.pm @@ -814,18 +814,18 @@ Keep in mind that C will return an C method for you, which you can also call from within your custom C: - my ( $import, $unimport, $init_meta ) = - Moose::Exporter->build_import_methods( ... ); + my ( $import, $unimport, $init_meta ) + = Moose::Exporter->build_import_methods(...); sub import { - my $class = shift; + my $class = shift; - ... + ... - # You can either pass an explicit package to import into ... - $class->$import({ into => scalar(caller) }, ...); + # You can either pass an explicit package to import into ... + $class->$import( { into => scalar(caller) }, ... ); - ... + ...; } # ... or you can use 'goto' to provide the correct caller info to the @@ -833,13 +833,13 @@ C: sub unimport { goto &$unimport } sub init_meta { - my $class = shift; + my $class = shift; - ... + ... - $class->$init_meta(...); + $class->$init_meta(...); - ... + ... } =head1 METACLASS TRAITS