From: Ian Jackson Date: Sun, 21 Nov 2021 13:27:11 +0000 (+0000) Subject: toplevel-find: fix perl warning X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fcde426dc9cde8f36c1ee711fdd46d74e0008588;p=reprap-play.git toplevel-find: fix perl warning Signed-off-by: Ian Jackson --- diff --git a/toplevel-find b/toplevel-find index 35f73e6..c9174c9 100755 --- a/toplevel-find +++ b/toplevel-find @@ -6,6 +6,7 @@ use IO::File; my $base = $ARGV[0]; $base =~ m/^\-/ and die; +sub read_file ($); sub read_file ($) { my ($fn) = @_; my $f = new IO::File "$fn", '<' or die "$fn $!";