~ubuntu-branches/ubuntu/trusty/swish-e/trusty-proposed

« back to all changes in this revision

Viewing changes to perl/API.pm

  • Committer: Package Import Robot
  • Author(s): Ludovic Drolez
  • Date: 2012-03-12 06:21:11 UTC
  • mfrom: (7.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20120312062111-upi6zmbtr0ygijzq
Tags: 2.4.7-3
* Added pt_BR debconf translation. Closes: #617742
* Try to fix the perl namespace problem. Closes: #422609, #451447
* Remove dependency_libs in the .la file

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# $Id: API.pm 1806 2006-06-21 19:01:20Z karman $
4
4
 
5
 
use vars qw/ @ISA $VERSION /;
 
5
use vars qw/ @ISA $VERSION/;
6
6
$VERSION = '0.04';
7
7
 
8
8
# prefer XSLoader over DynaLoader
31
31
    return $m;
32
32
}
33
33
 
34
 
CL: for my $class ( grep { m/::$/ } keys %SWISH::API:: )
 
34
# Fix for Debian Bug #422609
 
35
@moduleslist = ( 
 
36
  "MetaName::",
 
37
  "Search::",
 
38
  "PropertyName::",
 
39
  "Results::",
 
40
  "FuzzyWord::",
 
41
  "Result::",
 
42
);
 
43
 
 
44
CL: for my $class ( @moduleslist )
35
45
{
36
46
    local *c = $SWISH::API::{$class};
37
47
    METH: foreach my $meth ( keys %c ) {