Ah, so if the node has perl 5.8.4 and I use a code construct that came in
5.10, my code will fail?

I thought the "use" precluded me from using later code constructs. Drat,
now I have to figure out how to enforce that.

Thanks!


On Sat, Dec 22, 2018 at 5:07 AM sisyphus <sisyphus...@gmail.com> wrote:

> "use 5.008_004" ensures that perl is at version 5.8.4 or later.
> Try to run that script using perl-5.8.3 or earlier and it will croak with
> a message that you need to be running version 5.8.4 or later.
>
> Cheers,
> Rob
>
> On Sat, Dec 22, 2018 at 8:44 PM Leam Hall <leamh...@gmail.com> wrote:
>
>> I've seen code that has "use 5.008_004;" in the files. Yet the code also
>> uses tools like Build.PL that came after Perl 5.008. What does the "use
>> $perl_version" actually affect?
>>
>> Thanks!
>>
>> --
>> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>> For additional commands, e-mail: beginners-h...@perl.org
>> http://learn.perl.org/
>>
>>
>>

Reply via email to