Changeset 61
- Timestamp:
- 12/02/10 14:08:50 (14 years ago)
- Location:
- server/trunk/web/lib/Sophie
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Rpms.pm
r58 r61 104 104 } 105 105 106 =head 1 rpms.location107 108 C<No> doc yet 106 =head2 rpms.location (PKGID) 107 108 Return all distribution where the package having C<PKGID> can be found. 109 109 110 110 =cut -
server/trunk/web/lib/Sophie/Model/Help/XMLRPC.pm
r58 r61 47 47 my $parser = Pod::POM->new(); 48 48 my $pom = $parser->parse($pod); 49 foreach my $item ($pom->content) { 50 if ($method{$item->title}) { 51 $self->{method}{$item->title} = $item; 49 foreach my $head1 ($pom->content) { 50 foreach my $item ($head1->content) { 51 my $title = $item->title or next; 52 $title =~ s/[^\w\._].*$//; 53 if ($method{$title}) { 54 $self->{method}{$title} = $item; 55 } 52 56 } 53 57 }
Note: See TracChangeset
for help on using the changeset viewer.