About a month ago I wrote a example configuration step to show off the
new capability of passing arguments to a step from Configure.pl.  It
seems that I forgot to send out an e-mail about this...
The example step is called gen:PodTex and creates plain text files from
Pod documents with Pod::Text.  An example of it's usage would be:

=== Configure.pl
==================================================================
--- Configure.pl        (revision 11517)
+++ Configure.pl        (local)
@@ -446,6 +446,9 @@
     $Parrot::Configure::Step::conf = $conf;
 }
 $conf->add_steps(@steps);
+$conf->add_step('gen::PodText',
+    'DEPRECATED.pod' => 'DEPRECATED',
+);
 $conf->options->set(%args);
 # Run the actual steps
 $conf->runsteps;


The biggest advantages of this facility is that files names no longer
have to be hard-coded into a configuration step.  This allows us to
create more generic steps that can be invoked more than once in the same
configuration run.

Cheers,

-J

--

Attachment: pgpvueiPIts0w.pgp
Description: PGP signature

Reply via email to