aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Hal/Cdroms.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Hal/Cdroms.pm b/lib/Hal/Cdroms.pm
index 1a9f0f1..491bfa5 100644
--- a/lib/Hal/Cdroms.pm
+++ b/lib/Hal/Cdroms.pm
@@ -302,6 +302,8 @@ sub _reactor_shutdown {
$reactor->add_timeout(1, Net::DBus::Callback->new(method => sub {}));
}
+sub member { my $e = shift; foreach (@_) { $e eq $_ and return 1 } 0 }
+
=head1 AUTHOR
Pascal Rigaux <pixel@mandriva.com>