[libcatmandu-perl] 18/46: Adding documentation on the default_bag option
Jonas Smedegaard
dr at jones.dk
Tue Oct 14 13:52:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.9205
in repository libcatmandu-perl.
commit 2e725b501cc2949cdc12369684fc55bbe91e463f
Author: Patrick Hochstenbach <patrick.hochstenbach at ugent.be>
Date: Tue Jul 15 09:27:21 2014 +0200
Adding documentation on the default_bag option
---
lib/Catmandu/Store.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/Catmandu/Store.pm b/lib/Catmandu/Store.pm
index e5070b3..d71c9f5 100644
--- a/lib/Catmandu/Store.pm
+++ b/lib/Catmandu/Store.pm
@@ -100,11 +100,11 @@ Some stores can be searched using L<Catmandu::Searchable> methods.
=head1 METHODS
-=head2 new(%store_args, bag_class => $class, bags => { $bagname => \%bag_args })
+=head2 new(%store_args, bag_class => $class, default_bag => $name, bags => { $bagname => \%bag_args })
Create a new Catmandu::Store. Optionally provide the class name of a sub-class of
-L<Catmandu::Bag>. Startup parameters can be provided for each $bagname using the
-'bags' parameter. E.g.
+L<Catmandu::Bag>, and the name of the default bag ('data'). Startup parameters can be
+provided for each $bagname using the 'bags' parameter. E.g.
my $store = Catmandu::Store::Hash->new(
bags => {myBag => {plugins => ['Datestamps']}});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git
More information about the Pkg-perl-cvs-commits
mailing list