Show
Ignore:
Timestamp:
11/20/07 15:35:58 (5 years ago)
Author:
mattn
Message:

lang/perl/Net-Kotonoha/trunk/lib/Net/Kotonoha/Koto.pm,
lang/perl/Net-Kotonoha/trunk/lib/Net/Kotonoha.pm,
lang/perl/Net-Kotonoha/trunk/Changes:

changed that return array instead of list.

Location:
lang/perl/Net-Kotonoha/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Net-Kotonoha/trunk/Changes

    r1840 r1842  
    11Revision history for Perl extension Net::Kotonoha 
     2 
     30.04  Thu Nov 20 15:26:33 2007 
     4        - changed that return array instead of list. 
    25 
    360.03  Thu Nov 20 14:29:23 2007 
  • lang/perl/Net-Kotonoha/trunk/lib/Net/Kotonoha.pm

    r1840 r1842  
    1111use Net::Kotonoha::Koto; 
    1212 
    13 our $VERSION = '0.03'; 
     13our $VERSION = '0.04'; 
    1414 
    1515sub new { 
     
    9090    } 
    9191    $tree->delete; 
    92     return @list; 
     92    return \@list; 
    9393} 
    9494 
     
    123123    } 
    124124    $tree->delete; 
    125     return @list; 
     125    return \@list; 
    126126} 
    127127 
  • lang/perl/Net-Kotonoha/trunk/lib/Net/Kotonoha/Koto.pm

    r1224 r1842  
    7171    } 
    7272    $tree->delete; 
    73     return @list; 
     73    return \@list; 
    7474} 
    7575 
    7676sub yesman { 
    77     return shift->_get_list('//dl[@id="commentsyes"]//ul[@class="commentbox"]', 1); 
     77    shift->_get_list('//dl[@id="commentsyes"]//ul[@class="commentbox"]', 1); 
    7878} 
    7979 
    8080sub noman { 
    81     return shift->_get_list('//dl[@id="commentsno"]//ul[@class="commentbox"]', 2); 
     81    shift->_get_list('//dl[@id="commentsno"]//ul[@class="commentbox"]', 2); 
    8282} 
    8383