#
# mktodo -- generate baseline and todo files by running mktodo.pl
#
+# It calls plain 'mktodo' on each perl version it finds based on the input
+# parameters.
+#
################################################################################
#
# Version 3.x, Copyright (C) 2004-2013, Marcus Holland-Moritz.
require './devel/devtools.pl';
our %opt = (
- base => 0,
- check => 1,
+ base => 0, # If specified, this will generate base files, not todo ones
+ check => 1, # Do extra checking
verbose => 0,
install => '/tmp/perl/install/default',
blead => 'bleadperl-debug',
);
+# The way this works, is it expects to find perl binaries for a bunch of
+# different versions in a given directory. This defaults to the 'install' one
+# listed above, but is overriddable by the --install parameter. It also uses
+# blead, again with an overridable default.
+#
+# It first verifies that the test file works properly for blead.
+#
+# Then it goes through the list of perl binaries sorted in decreasing order of
+# version number. If something works in version n, but not in version n-1,
+# that means it was introduced (or perhaps fixed) in version n, and adds that
+# thing to the version n list.
+#
+# After everything is done, we have lists of what got added when. The --base
+# parameter tells it to not use ppport.h when computing this. Thus we get
+# what the official perls added when. Without this parameter, we do use
+# ppport.h, so we get, as patched by ppport.h, what gets added when
+
GetOptions(\%opt, qw( base check! verbose install=s blead=s blead-version=s )) or die;
identify();