Front page | perl.perl5.porters |
Postings from September 2014
Re: Versioned 'strict'
Thread Previous
|
Thread Next
From:
Eirik Berg Hanssen
Date:
September 12, 2014 09:57
Subject:
Re: Versioned 'strict'
Message ID:
CAHAeAG7HeM8ueCzpZTkOf-Fu=HxDTCijEnkbFzfGrd28e0WBdA@mail.gmail.com
On Fri, Sep 12, 2014 at 10:55 AM, Paul "LeoNerd" Evans <
leonerd@leonerd.org.uk> wrote:
> "use feature" was added in 5.10, meaning if your program starts
>
> use feature 'say';
>
> it will crash on 5.8. That was deemed acceptable.
>
Since 5.8 does not implement the 'say' feature, it's kinda hard to avoid,
no? Your program would not use that feature if it didn't rely on it.
A better (fsvo "better") example might be:
use feature 'array_base'; # now why on earth should this crash 5.8?!
But the 'if' module can handle that well enough. I don't see any
pressing need for a dual-live feature pragma. :)
Eirik
Thread Previous
|
Thread Next