in reply to Detecting if a program or file exists
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Detecting if a program or file exists
by FM (Acolyte) on Oct 18, 2005 at 04:29 UTC | |
by mattk (Pilgrim) on Oct 18, 2005 at 05:19 UTC | |
by blazar (Canon) on Oct 18, 2005 at 07:06 UTC | |
by ChrisS (Monk) on Oct 18, 2005 at 13:38 UTC | |
by FM (Acolyte) on Oct 18, 2005 at 18:01 UTC | |
by Limbic~Region (Chancellor) on Oct 18, 2005 at 18:24 UTC |