Skip to content

Commit

Permalink
Reword documentation slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Oct 18, 2011
1 parent e5c1c05 commit 5c39bd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Config/MVP/Slicer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ bundle config and separate them out using this module.
=head1 CONFIGURATION SYNTAX
Often configurations come from an ini file and look like this:
Often configurations come from an C<ini> file and look like this:
[PluginName]
option = value
Expand All @@ -409,7 +409,7 @@ To embed configuration for other plugins:
The simple 'bundle_option' attribute is for C<@BigBundle>,
and the bundle can slice out the C<Bundled::Plugin> configuration
and merge it in.
and merge it in to that plugin's configuration.
Prefixes can be used (see L</prefix>).
In this example the prefix is set as C<"plug.">.
Expand All @@ -426,11 +426,11 @@ You can help out by specifying that an attribute should be an array:
Baz.quux[0] = part 1
Baz.quux[1] = part 2
The subscripts inside the brackets are used for sorting but otherwise ignored.
This is required because each line will end up in a hashref:
{ "quux[0]" => "part 1", "quxx[1]" => part 2 }
The subscripts inside the brackets are used for sorting but otherwise ignored.
The L</slice> method will sort the keys (B<alphabetically>) to produce:
{ quux => ["part 1", "part 2"] }
Expand Down

0 comments on commit 5c39bd6

Please sign in to comment.