Skip to content

Commit

Permalink
Replace /usr/bin/perl with /usr/bin/env perl and common::sense with u…
Browse files Browse the repository at this point in the history
…se strict and use warnings
  • Loading branch information
ronsavage committed Feb 15, 2011
1 parent 8132548 commit 63d1dc6
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,9 @@
Revision history for Perl extension HTML::Parser::Simple. Revision history for Perl extension HTML::Parser::Simple.


1.07 Tue Feb 15 17:02:00 2011
- Replace /usr/bin/perl with /usr/bin/env perl.
- Replace common::sense with use strict and use warnings, to get uninit var warnings.

1.06 Sat Feb 5 15:57:00 2011 1.06 Sat Feb 5 15:57:00 2011
- Fix a bug where, if the 2nd or subsequent attribute had an empty string for the value, - Fix a bug where, if the 2nd or subsequent attribute had an empty string for the value,
the code looped forever. Eg: name="a name" value="". For RT#65466. the code looped forever. Eg: name="a name" value="". For RT#65466.
Expand Down
9 changes: 8 additions & 1 deletion Changelog.ini
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,14 @@
[Module] [Module]
Name=HTML::Parser::Simple Name=HTML::Parser::Simple
Changelog.Creator=Module::Metadata::Changes V 1.08 Changelog.Creator=Module::Metadata::Changes V 1.08
Changelog.Parser=Config::IniFiles V 2.65 Changelog.Parser=Config::IniFiles V 2.66

[V 1.07]
Date=2011-02-15T17:02:00
Comments= <<EOT
- Replace /usr/bin/perl with /usr/bin/env perl.
- Replace common::sense with use strict and use warnings to get uninit var warnings.
EOT


[V 1.06] [V 1.06]
Date=2011-02-05T15:57:00 Date=2011-02-05T15:57:00
Expand Down
4 changes: 2 additions & 2 deletions META.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build_requires:
Test::Pod: 0 Test::Pod: 0
configure_requires: configure_requires:
Module::Build: 0.36 Module::Build: 0.36
generated_by: 'Module::Build version 0.3624' generated_by: 'Module::Build version 0.3603'
license: artistic license: artistic
meta-spec: meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html url: http://module-build.sourceforge.net/META-spec-v1.4.html
Expand All @@ -25,5 +25,5 @@ requires:
Tree::Simple: 0 Tree::Simple: 0
perl: 5.006 perl: 5.006
resources: resources:
license: http://www.perlfoundation.org/artistic_license_1_0 license: http://opensource.org/licenses/artistic-license.php
version: 1.06 version: 1.06
4 changes: 2 additions & 2 deletions lib/HTML/Parser/Simple.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ our @EXPORT = qw(
); );


our $VERSION = '1.06'; our $VERSION = '1.07';


# ----------------------------------------------- # -----------------------------------------------


Expand Down Expand Up @@ -936,7 +936,7 @@ C<HTML::Parser::Simple> - Parse nice HTML files without needing a compiler
=head1 Synopsis =head1 Synopsis
#!/usr/bin/perl #!/usr/bin/env perl
use strict; use strict;
use warnings; use warnings;
Expand Down
2 changes: 1 addition & 1 deletion lib/HTML/Parser/Simple/Attributes.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;


use Carp; use Carp;


our $VERSION = '1.06'; our $VERSION = '1.07';


# ----------------------------------------------- # -----------------------------------------------


Expand Down
2 changes: 1 addition & 1 deletion scripts/parse.html.pl
100755 → 100644
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl #!/usr/bin/env perl
# #
# Name: # Name:
# parse.html.pl. # parse.html.pl.
Expand Down
2 changes: 1 addition & 1 deletion scripts/parse.xhtml.pl
100755 → 100644
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl #!/usr/bin/env perl
# #
# Name: # Name:
# parse.xhtml.pl. # parse.xhtml.pl.
Expand Down
2 changes: 1 addition & 1 deletion t/Data.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package Data;
use strict; use strict;
use warnings; use warnings;


our $VERSION = '1.06'; our $VERSION = '1.07';


# ----------------------------------------------- # -----------------------------------------------


Expand Down

0 comments on commit 63d1dc6

Please sign in to comment.