Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-Uni CPAN distribution.

Report information
The Basics
Id: 56999
Status: resolved
Priority: 0/
Queue: App-Uni

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: v0.12.0
Fixed in: (no value)



Subject: Minimum Perl version
The latest version of App::Uni requires 5.12 making this handy command line tool difficult to install on a stock Perl distributed by a vendor. I've gone through the code and the only 5.12 feature appears to be declaring the version on the package line. It doesn't seem too odious to use $VERSION for a little while longer. The attached patch makes 5.10.0 the minimum version.
Subject: 0001-Make-5.10.0-the-minimum-version.patch
From f5c57b67b0c63cab40acec1a48fbf115280f6c3e Mon Sep 17 00:00:00 2001 From: Michael G. Schwern <schwern@pobox.com> Date: Tue, 27 Apr 2010 22:38:37 -0700 Subject: [PATCH] Make 5.10.0 the minimum version --- Makefile.PL | 2 +- lib/App/Uni.pm | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index a2d2072..a546235 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,6 @@ #!/usr/local/bin/perl -use v5.12.0; +use v5.10.0; use inc::Module::Install; name 'App-Uni'; diff --git a/lib/App/Uni.pm b/lib/App/Uni.pm index 80c86e3..30395ce 100644 --- a/lib/App/Uni.pm +++ b/lib/App/Uni.pm @@ -1,5 +1,6 @@ -use v5.12.0; -package App::Uni v0.12.0; +use v5.10.0; +package App::Uni; +use version; our $VERSION = qv(0.12.0); use open ':std' => ':utf8'; sub main { -- 1.7.0.3
I totally rewrote uni a while ago. It works on 5.10. -- rjbs