Changeset 12870
- Timestamp:
- 05/31/08 02:22:46 (6 months ago)
- Files:
-
- 1 modified
-
lang/perl/WWW-CDTV/trunk/lib/WWW/CDTV.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/WWW-CDTV/trunk/lib/WWW/CDTV.pm
r12869 r12870 44 44 EOF 45 45 my @tracks; 46 my %move_table = ( '新' => 'new', '↑' => 'up', '↓' => 'down', ); 46 47 foreach my $entry_html (@match) { 47 48 $entry_html =~ m/$entry_regex/gs; … … 51 52 artist => decode_entities($4), 52 53 }; 53 if ( $2 =~ /新/ ) { 54 $entry->{move} = "new"; 55 } 56 elsif ( $2 =~ /↑/ ) { 57 $entry->{move} = "up"; 58 } 59 elsif ( $2 =~ /↓/ ) { 60 $entry->{move} = "down"; 61 } 54 $entry->{move} = $move_table{$2}; 62 55 $tracks[ $entry->{no} ] = WWW::CDTV::Track->new($entry); 63 56 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)