Toby Inkster avatar Toby Inkster committed c36dac0

use strict; use 5.010; use Object::AUTHORITY; etc

Comments (0)

Files changed (8)

 package JSON::JOM;
 
-use 5.008;
+use 5.010;
 use parent qw[Exporter];
-use common::sense;
+use strict;
 use utf8;
 
 use JSON qw[];
 use Scalar::Util qw[];
+use Object::AUTHORITY;
 
 use JSON::JOM::Node;
 use JSON::JOM::Object;
 use JSON::JOM::Array;
 use JSON::JOM::Value;
 
-our $VERSION   = '0.100';
-our @EXPORT    = qw[];
-our @EXPORT_OK = qw[from_json to_json to_jom ref];
-our %EXPORT_TAGS = (all => \@EXPORT_OK, standard => [qw[from_json to_json to_jom]], default => []);
+our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
 
+BEGIN
+{
+	$JSON::JOM::AUTHORITY = 'cpan:TOBYINK';
+	$JSON::JOM::VERSION   = '0.500';
+
+	@EXPORT    = qw[];
+	@EXPORT_OK = qw[from_json to_json to_jom ref];
+	%EXPORT_TAGS = (
+		all      => \@EXPORT_OK,
+		standard => [qw/from_json to_json to_jom/],
+		default  => \@EXPORT,
+		);
+}
+	
 sub ref ($)
 {
 	if (Scalar::Util::blessed($_[0]) =~ /^JSON::JOM::(Node|Object|Array|Value)$/
 
 =head1 DESCRIPTION
 
-B<Until version 0.500 the entire JOM API should be considered subject to
-change without notice.>
-
 JSON::JOM provides a DOM-like API for working with JSON.
 
 While L<JSON> represents JSON arrays as Perl arrayrefs and JSON objects as
 
 =head1 COPYRIGHT
 
-Copyright 2010 Toby Inkster
+Copyright 2010-2011 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 =cut
 

lib/JSON/JOM/Array.pm

 package JSON::JOM::Array;
 
-use 5.008;
+use 5.010;
+use strict;
+use utf8;
+use Object::AUTHORITY;
 use parent qw[JSON::JOM::Object];
-use common::sense;
 use UNIVERSAL::ref;
-
 use Scalar::Util qw[];
 
-our $VERSION   = '0.100';
+BEGIN
+{
+	$JSON::JOM::Array::AUTHORITY = 'cpan:TOBYINK';
+	$JSON::JOM::Array::VERSION   = '0.500';
+}
+
 
 sub new
 {
 
 =head1 COPYRIGHT
 
-Copyright 2010 Toby Inkster
+Copyright 2010-2011 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 =cut
 

lib/JSON/JOM/Node.pm

 package JSON::JOM::Node;
 
-use 5.008;
-use common::sense;
+use 5.010;
+use strict;
+use utf8;
+use Object::AUTHORITY;
 use UNIVERSAL::ref;
 
 use Carp qw[];
 
 our ($META, $AUTOLOAD, $EXTENSIONS, $TIEMAP);
 
-our $VERSION   = '0.100';
+BEGIN
+{
+	$JSON::JOM::Node::AUTHORITY = 'cpan:TOBYINK';
+	$JSON::JOM::Node::VERSION   = '0.500';
+}
 
 sub import
 {
 
 =head1 COPYRIGHT
 
-Copyright 2010 Toby Inkster
+Copyright 2010-2011 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 =cut
 

lib/JSON/JOM/Object.pm

 package JSON::JOM::Object;
 
-use 5.008;
+use 5.010;
+use strict;
+use utf8;
+use Object::AUTHORITY;
+
 use parent qw[JSON::JOM::Node];
-use common::sense;
 use UNIVERSAL::ref;
 
 use Scalar::Util qw[];
 
-our $VERSION   = '0.100';
+BEGIN
+{
+	$JSON::JOM::Object::AUTHORITY = 'cpan:TOBYINK';
+	$JSON::JOM::Object::VERSION   = '0.500';
+}
 
 sub new
 {
 
 =head1 COPYRIGHT
 
-Copyright 2010 Toby Inkster
+Copyright 2010-2011 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 =cut
 

lib/JSON/JOM/Plugins/Dumper.pm

 package JSON::JOM::Plugins::Dumper;
 
+use 5.010;
+use strict;
+use utf8;
+use Object::AUTHORITY;
 use JSON qw[to_json];
 
-our $VERSION   = '0.100';
+BEGIN
+{
+	$JSON::JOM::Plugins::Dumper::AUTHORITY = 'cpan:TOBYINK';
+	$JSON::JOM::Plugins::Dumper::VERSION   = '0.500';
+}
 
 sub extensions
 {
 
 =head1 COPYRIGHT
 
-Copyright 2010 Toby Inkster
+Copyright 2010-2011 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 =cut
 

lib/JSON/JOM/Plugins/ListUtils.pm

 package JSON::JOM::Plugins::ListUtils;
 
-our $VERSION   = '0.100';
+use 5.010;
+use strict;
+use utf8;
+use Object::AUTHORITY;
+
+BEGIN
+{
+	$JSON::JOM::Plugins::ListUtils::AUTHORITY = 'cpan:TOBYINK';
+	$JSON::JOM::Plugins::ListUtils::VERSION   = '0.500';
+}
 
 sub extensions
 {
 
 =head1 COPYRIGHT
 
-Copyright 2010 Toby Inkster
+Copyright 2010-2011 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 =cut
 

lib/JSON/JOM/Plugins/TreeUtils.pm

 package JSON::JOM::Plugins::TreeUtils;
 
+use 5.010;
+use strict;
+use utf8;
+use Object::AUTHORITY;
 use JSON::JOM::Plugins::ListUtils;
 
-our $VERSION   = '0.100';
+BEGIN
+{
+	$JSON::JOM::Plugins::TreeUtils::AUTHORITY = 'cpan:TOBYINK';
+	$JSON::JOM::Plugins::TreeUtils::VERSION   = '0.500';
+}
 
 sub extensions
 {
 
 =head1 COPYRIGHT
 
-Copyright 2010 Toby Inkster
+Copyright 2010-2011 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 =cut
 

lib/JSON/JOM/Value.pm

 package JSON::JOM::Value;
 
-use 5.008;
+use 5.010;
+use strict;
+use utf8;
+use Object::AUTHORITY;
+
 use parent qw[JSON::JOM::Node];
-use common::sense;
 use overload bool => \&TO_JSON;
 use overload '0+' => \&TO_JSON;
 use overload '""' => \&TO_JSON;
 use B qw[];
 use JSON qw[];
 
-our $VERSION   = '0.100';
+BEGIN
+{
+	$JSON::JOM::Value::AUTHORITY = 'cpan:TOBYINK';
+	$JSON::JOM::Value::VERSION   = '0.500';
+}
 
 sub new
 {
 
 =head1 COPYRIGHT
 
-Copyright 2010 Toby Inkster
+Copyright 2010-2011 Toby Inkster
 
 This library is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.
 
+=head1 DISCLAIMER OF WARRANTIES
+
+THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
 =cut
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.