git.shiar.nl
/
perl
/
plp
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e994dec
)
use warnings in all modules
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 29 May 2008 20:27:33 +0000
(20:27 +0000)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 31 May 2008 19:47:25 +0000
(19:47 +0000)
Changes
patch
|
blob
|
history
lib/PLP.pm
patch
|
blob
|
history
lib/PLP/Backend/Apache.pm
patch
|
blob
|
history
lib/PLP/Backend/CGI.pm
patch
|
blob
|
history
lib/PLP/Backend/FastCGI.pm
patch
|
blob
|
history
lib/PLP/Fields.pm
patch
|
blob
|
history
lib/PLP/Functions.pm
patch
|
blob
|
history
lib/PLP/Tie/Delay.pm
patch
|
blob
|
history
lib/PLP/Tie/Headers.pm
patch
|
blob
|
history
lib/PLP/Tie/Print.pm
patch
|
blob
|
history
diff --git
a/Changes
b/Changes
index 258d9b2f0a403c59fda694307e5f3dfe7699dfb5..f02aa3270260960387679da7d417b3522541a812 100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,3
+1,4
@@
+- All modules use warnings
- Fix META.yml syntax
3.20 - May 29, 2008:
- Fix META.yml syntax
3.20 - May 29, 2008:
diff --git
a/lib/PLP.pm
b/lib/PLP.pm
index f1ad4f8b44d1e4b2d52fbdd3721c7cb5d21742dd..42866dc20f85d110662693e0c203a55faae94615 100644
(file)
--- a/
lib/PLP.pm
+++ b/
lib/PLP.pm
@@
-12,6
+12,7
@@
use File::Basename ();
use File::Spec;
use strict;
use File::Spec;
use strict;
+use warnings;
our $VERSION = '3.20';
our $VERSION = '3.20';
diff --git
a/lib/PLP/Backend/Apache.pm
b/lib/PLP/Backend/Apache.pm
index 62caadcb1e2b5debb3af827a9639667db749c16e..6964b56412ca45efb56c8954bb00d76e8458ec3d 100644
(file)
--- a/
lib/PLP/Backend/Apache.pm
+++ b/
lib/PLP/Backend/Apache.pm
@@
-1,6
+1,7
@@
package PLP::Backend::Apache;
use strict;
package PLP::Backend::Apache;
use strict;
+use warnings;
our $VERSION = '1.00';
our $VERSION = '1.00';
diff --git
a/lib/PLP/Backend/CGI.pm
b/lib/PLP/Backend/CGI.pm
index 1e8def9abb09a5a394ceafdac5f99da29fb9fa7d..10b9b45618b2d1bc2dc48f90ca17266d45acbf0d 100644
(file)
--- a/
lib/PLP/Backend/CGI.pm
+++ b/
lib/PLP/Backend/CGI.pm
@@
-1,6
+1,7
@@
package PLP::Backend::CGI;
use strict;
package PLP::Backend::CGI;
use strict;
+use warnings;
our $VERSION = '1.02';
our $VERSION = '1.02';
diff --git
a/lib/PLP/Backend/FastCGI.pm
b/lib/PLP/Backend/FastCGI.pm
index 4f14863ee9bcb80b64ba1ae5e17c82b1559c8805..92dda745a6463cacbf28fa1d19ae913237fa2042 100644
(file)
--- a/
lib/PLP/Backend/FastCGI.pm
+++ b/
lib/PLP/Backend/FastCGI.pm
@@
-1,6
+1,7
@@
package PLP::Backend::FastCGI;
use strict;
package PLP::Backend::FastCGI;
use strict;
+use warnings;
use PLP::Backend::CGI ();
use FCGI;
use PLP::Backend::CGI ();
use FCGI;
diff --git
a/lib/PLP/Fields.pm
b/lib/PLP/Fields.pm
index 7f07c4e914225e8f006e86a02db99b7391ee7471..01f3baf964ee41661c12f4dbd6bd4ae05fc0a48d 100644
(file)
--- a/
lib/PLP/Fields.pm
+++ b/
lib/PLP/Fields.pm
@@
-1,6
+1,7
@@
package PLP::Fields;
use strict;
package PLP::Fields;
use strict;
+use warnings;
# Has only one function: doit(), which ties the hashes %get, %post, %fields
# and %header in PLP::Script. Also generates %cookie immediately.
# Has only one function: doit(), which ties the hashes %get, %post, %fields
# and %header in PLP::Script. Also generates %cookie immediately.
diff --git
a/lib/PLP/Functions.pm
b/lib/PLP/Functions.pm
index 28815cd2e2ba2559b22a77ee49596e808101ff14..18318ad7b0bacbdf643f0037fee5f202abb84ea2 100644
(file)
--- a/
lib/PLP/Functions.pm
+++ b/
lib/PLP/Functions.pm
@@
-1,8
+1,10
@@
package PLP::Functions;
package PLP::Functions;
-use base 'Exporter';
-use Fcntl qw(:flock);
use strict;
use strict;
+use warnings;
+
+use Exporter qw(import);
+use Fcntl qw(:flock);
our @EXPORT = qw/Entity DecodeURI EncodeURI Include include PLP_END
AddCookie ReadFile WriteFile AutoURL Counter exit/;
our @EXPORT = qw/Entity DecodeURI EncodeURI Include include PLP_END
AddCookie ReadFile WriteFile AutoURL Counter exit/;
diff --git
a/lib/PLP/Tie/Delay.pm
b/lib/PLP/Tie/Delay.pm
index bf7a7a71cc4a8e216a7807fe6013b99106fc955e..8be53afae7257045dec7189b853f808ad03cdfe1 100644
(file)
--- a/
lib/PLP/Tie/Delay.pm
+++ b/
lib/PLP/Tie/Delay.pm
@@
-2,6
+2,7
@@
package PLP::Tie::Delay;
use strict;
no strict 'refs';
use strict;
no strict 'refs';
+use warnings;
=head1 PLP::Tie::Delay
=head1 PLP::Tie::Delay
diff --git
a/lib/PLP/Tie/Headers.pm
b/lib/PLP/Tie/Headers.pm
index df41fbef2c105ec9c049764fd2735c20ec1c4b04..ef124912f886e4681e1873a1e09fdb5ab51f342e 100644
(file)
--- a/
lib/PLP/Tie/Headers.pm
+++ b/
lib/PLP/Tie/Headers.pm
@@
-1,6
+1,7
@@
package PLP::Tie::Headers;
use strict;
package PLP::Tie::Headers;
use strict;
+use warnings;
use Carp;
=head1 PLP::Tie::Headers
use Carp;
=head1 PLP::Tie::Headers
diff --git
a/lib/PLP/Tie/Print.pm
b/lib/PLP/Tie/Print.pm
index ef537a03a10a6a6bc7739fd87bfc4981d478340d..a2d22dd25c2a1c189c2b890576529ab60e5da437 100644
(file)
--- a/
lib/PLP/Tie/Print.pm
+++ b/
lib/PLP/Tie/Print.pm
@@
-1,6
+1,7
@@
package PLP::Tie::Print;
use strict;
package PLP::Tie::Print;
use strict;
+use warnings;
=head1 PLP::Tie::Print
=head1 PLP::Tie::Print