ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/common-sense/sense.pm.PL
(Generate patch)

Comparing common-sense/sense.pm.PL (file contents):
Revision 1.13 by root, Tue Jul 30 23:27:09 2013 UTC vs.
Revision 1.14 by root, Wed Jul 31 00:35:09 2013 UTC

1#! perl-000 1#! perl-000
2
3our $VERSION = '3.71';
2 4
3open STDOUT, ">$ARGV[0]~" 5open STDOUT, ">$ARGV[0]~"
4 or die "$ARGV[0]~: $!"; 6 or die "$ARGV[0]~: $!";
5 7
6our ($WARN, $H, %H); 8our ($WARN, $H, %H);
43 printf " \$^H |= 0x%x;\n", $H; 45 printf " \$^H |= 0x%x;\n", $H;
44 46
45 if (my @features = grep /^feature_/, keys %H) { 47 if (my @features = grep /^feature_/, keys %H) {
46 print " \@^H{qw(@features)} = (1) x ", (scalar @features), ";\n"; 48 print " \@^H{qw(@features)} = (1) x ", (scalar @features), ";\n";
47 } 49 }
50 } elsif (/^VERSION/) {
51 print "our \$VERSION = $VERSION;\n";
48 } else { 52 } else {
49 print; 53 print;
50 } 54 }
51} 55}
52 56
54rename "$ARGV[0]~", $ARGV[0]; 58rename "$ARGV[0]~", $ARGV[0];
55 59
56__DATA__ 60__DATA__
57package common::sense; 61package common::sense;
58 62
59our $VERSION = '3.7'; 63VERSION
60 64
61# overload should be included 65# overload should be included
62 66
63sub import { 67sub import {
64 local $^W; # work around perl 5.16 spewing out warnings for next statement 68 local $^W; # work around perl 5.16 spewing out warnings for next statement

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines