diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/WebCoso/Collection.pm (renamed from lib/WebCoso/Config/Collection.pm) | 2 | ||||
-rw-r--r-- | lib/WebCoso/Collections.pm (renamed from lib/WebCoso/Config/Collections.pm) | 2 | ||||
-rw-r--r-- | lib/WebCoso/Config.pm | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/WebCoso/Config/Collection.pm b/lib/WebCoso/Collection.pm index 23b1aea..42442f1 100644 --- a/lib/WebCoso/Config/Collection.pm +++ b/lib/WebCoso/Collection.pm @@ -1,4 +1,4 @@ -package WebCoso::Config::Collection; +package WebCoso::Collection; use strict; use warnings; use Class::Std; diff --git a/lib/WebCoso/Config/Collections.pm b/lib/WebCoso/Collections.pm index 7c70e64..f0f9815 100644 --- a/lib/WebCoso/Config/Collections.pm +++ b/lib/WebCoso/Collections.pm @@ -1,4 +1,4 @@ -package WebCoso::Config::Collections; +package WebCoso::Collections; use strict; use warnings; use Class::Std; diff --git a/lib/WebCoso/Config.pm b/lib/WebCoso/Config.pm index 78c9dbe..ab62179 100644 --- a/lib/WebCoso/Config.pm +++ b/lib/WebCoso/Config.pm @@ -1,13 +1,13 @@ package WebCoso::Config; use strict; use warnings; -use WebCoso::Config::Collections; +use WebCoso::Collections; use WebCoso::Pipeline; use WebCoso::X; use utf8; my @resources; -my $collections=WebCoso::Config::Collections->new(); +my $collections=WebCoso::Collections->new(); my %resource_to_pipeline; sub read_scalar { @@ -60,14 +60,14 @@ sub get_pipeline_for { sub clear { @resources=(); - $collections=WebCoso::Config::Collections->new(); + $collections=WebCoso::Collections->new(); %resource_to_pipeline=(); } package WebCoso::Config::Helpers; use Path::Class; use WebCoso::Resource; -use WebCoso::Config::Collection; +use WebCoso::Collection; use Exporter::Lite; use vars qw($FILENAME @EXPORT); @@ -123,7 +123,7 @@ sub res { sub coll { my ($name,$parents,$children,$resources)=@_; - my $collection=WebCoso::Config::Collection->new({ + my $collection=WebCoso::Collection->new({ name=>$name, parents=>$parents||[], children=>$children||[], |