From 2c3206c124278ac90dacff6f9b31aaa6a43149a8 Mon Sep 17 00:00:00 2001 From: James Laird Date: Mon, 18 Apr 2011 00:57:13 +1000 Subject: [PATCH] Make Perl version requirement clear. --- INSTALL.md | 2 +- shairport.pl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 3c211a20..6d95af24 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -4,7 +4,7 @@ You need the following installed: * openssl * libao - * Perl + * Perl 5.10 or higher * Linux: avahi * Windows/Mac OS X: Bonjour diff --git a/shairport.pl b/shairport.pl index 5477130e..14a40382 100755 --- a/shairport.pl +++ b/shairport.pl @@ -23,6 +23,8 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. +use 5.10.0; + use Getopt::Long; use FindBin;