Ken Williams wrote:
>> What is the reason for saying require? If there is one, we need a begin
>> block, right?
>
> Yeah. I guess it was require() because we wanted to have a nice error
> message even for perl4? That hardly seems like an important use case
> anymore though.
"use 5.xxx" is a 5.6 thing. "require 5.xxx" goes back to at least 5.4.
Given that the whole point is to tell users using older perls that they need a
higher version of perl, it's important in this case to remain backwards
compatible.
BEGIN { require 5.xxx } is ok.
--
I do have a cause though. It's obscenity. I'm for it.
- Tom Lehrer