in reply to Program Comments

use 5.6.0; # Change to 5.006_000 if using Perl 5.8.0. 3

Not correct, this line will only check that the perl is at least version 5.6.0, it will not downgrade the interpreter

Please, please, please edit your post to surround your code with <code> tags