From ba48228f9df6a34896ae604da56b788b66e61171 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 27 Sep 2008 21:04:28 +1200 Subject: [PATCH] Remove some debugging output. --- lib/Display/Plugins/Photo/Directory.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Display/Plugins/Photo/Directory.pm b/lib/Display/Plugins/Photo/Directory.pm index 2bdba07..93a5134 100644 --- a/lib/Display/Plugins/Photo/Directory.pm +++ b/lib/Display/Plugins/Photo/Directory.pm @@ -20,13 +20,11 @@ sub new { sub find_photo { my $self = shift; - print "Trying to find a photo\n"; if (opendir(DIR, $directory)) { my @files = readdir(DIR); closedir DIR; -print "Trying a file.\n"; $self->{'kernel'}->yield('display_photo', join("/", $directory, $files[rand @files])); } else { warn "Failed to open $directory for reading: $!\n"; -- 2.30.2