use strict; use warnings; require 5.8.7; print "Hello World!\n";
I only have 5.8.4 installed at home, and this prints:
Perl v5.8.7 required--this is only v5.8.4, stopped at math1.pl line 4.
Modify the code to require 5.8.3, and it prints:
Hello World!
In reply to Re: Detecting if a program or file exists
by pg
in thread Detecting if a program or file exists
by FM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |