making introspection filter regexy
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 12 Jul 2005 19:12:03 +0000 (19:12 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 12 Jul 2005 19:12:03 +0000 (19:12 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@388 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Application.pm

index d9388a1..d808c91 100644 (file)
@@ -477,7 +477,7 @@ sub introspect {
                for my $api_name ( sort keys %{$_METHODS[$api_level]} ) {
                        if (!$_METHODS[$api_level]{$api_name}{remote}) {
                                if (defined($method)) {
-                                       if ($api_name eq $method) {
+                                       if ($api_name =~ $method) {
                                                $client->respond( $_METHODS[$api_level]{$api_name} );
                                        }
                                } else {