Burak Gürsoy avatar Burak Gürsoy committed 43fdf50

add a P::C exception and change target version

Comments (0)

Files changed (4)

 
 Time zone is GMT+2.
 
-2.99_01 Fri Sep 25 03:58:32 2009
+2.30 Fri Sep 25 03:58:32 2009
     => Perl::Critic refactoring.
 
 2.24 Thu Sep  3 02:02:02 2009

lib/MP3/M3U/Parser.pm

 use MP3::M3U::Parser::Constants;
 use constant MINUTE_MULTIPLIER => 60;
 
-$VERSION = '2.99_01';
+$VERSION = '2.30';
 
 sub new {
     # -parse_path -seconds -search -overwrite
     return $self;
 }
 
-sub reset {
+sub reset { ## no critic (ProhibitBuiltinHomonyms)
     # reset the object
     my $self = shift;
-        $self->{'_M3U_'}      = [];
-        $self->{TOTAL_FILES}  = 0;
-        $self->{TOTAL_TIME}   = 0;
-        $self->{TOTAL_SONGS}  = 0;
-        $self->{AVERAGE_TIME} = 0;
-        $self->{ACOUNTER}     = 0;
-        $self->{INDEX}        = 0;
+    $self->{'_M3U_'}      = [];
+    $self->{TOTAL_FILES}  = 0;
+    $self->{TOTAL_TIME}   = 0;
+    $self->{TOTAL_SONGS}  = 0;
+    $self->{AVERAGE_TIME} = 0;
+    $self->{ACOUNTER}     = 0;
+    $self->{INDEX}        = 0;
     return defined wantarray ? $self : undef;
 }
 

lib/MP3/M3U/Parser/Constants.pm

 use warnings;
 use vars qw( $VERSION @EXPORT @EXPORT_OK %EXPORT_TAGS $OID );
 
-$VERSION = '3.00';
+$VERSION = '2.30';
 
 # Data table key map
 use constant PATH    => $OID++;

lib/MP3/M3U/Parser/Export.pm

 use Carp qw( croak );
 use MP3::M3U::Parser::Constants;
 
-$VERSION = '3.00';
+$VERSION = '2.30';
 
 sub export {
     my($self, @args) = @_;
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.