[Jifty-commit] r5476 - in Debug-Flags: . lib/Debug

Jifty commits jifty-commit at lists.jifty.org
Fri May 16 23:39:57 EDT 2008


Author: clkao
Date: Fri May 16 23:39:57 2008
New Revision: 5476

Added:
   Debug-Flags/MANIFEST
   Debug-Flags/t/use.t
Removed:
   Debug-Flags/OPCheck.xs
Modified:
   Debug-Flags/lib/Debug/Flags.pm

Log:
0.26

Added: Debug-Flags/MANIFEST
==============================================================================
--- (empty file)
+++ Debug-Flags/MANIFEST	Fri May 16 23:39:57 2008
@@ -0,0 +1,18 @@
+Changes
+defsubs_h.PL
+Flags.xs
+inc/Module/Install.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
+lib/Debug/Flags.pm
+Makefile.PL
+MANIFEST			This list of files
+META.yml
+OPCheck.xs
+ppport.h
+t/use.t

Modified: Debug-Flags/lib/Debug/Flags.pm
==============================================================================
--- Debug-Flags/lib/Debug/Flags.pm	(original)
+++ Debug-Flags/lib/Debug/Flags.pm	Fri May 16 23:39:57 2008
@@ -1,5 +1,22 @@
 package Debug::Flags;
 
+use 5.008;
+
+use strict;
+use warnings;
+
+use Carp;
+use XSLoader;
+use Scalar::Util;
+use Scope::Guard;
+
+our $VERSION = '0.26';
+
+XSLoader::load 'Debug::Flags', $VERSION;
+
+1;
+
+
 =head1 NAME
 
 Debug::Flags - set PL_debug flags at runtime
@@ -8,27 +25,26 @@
 
   use strict;
   use Debug::Flags;
-  Debug::Flags::set_flags(0x)
-
-=head1 DESCRIPTION
+  Debug::Flags::set_flags(0x2);
 
+  .. do something
 
+=head1 DESCRIPTION
 
-=cut
+This module turns on the -D flags described in L<perlrun> in runtime,
+if you have a debugging perl.
 
-use 5.008;
+=head1 AUTHORS
 
-use strict;
-use warnings;
+Chia-liang Kao E<lt>clkao at clkao.orgE<gt>
 
-use Carp;
-use XSLoader;
-use Scalar::Util;
-use Scope::Guard;
+=head1 COPYRIGHT
 
-our $VERSION = '0.26';
+Copyright 2006 by Chia-liang Kao and others.
 
-XSLoader::load 'Debug::Flags', $VERSION;
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
 
-1;
+See L<http://www.perl.com/perl/misc/Artistic.html>
 
+=cut

Added: Debug-Flags/t/use.t
==============================================================================
--- (empty file)
+++ Debug-Flags/t/use.t	Fri May 16 23:39:57 2008
@@ -0,0 +1,2 @@
+use Test::More tests => 1;
+use ok 'Debug::Flags';


More information about the Jifty-commit mailing list