in reply to Ho wo create single BIG program with all values of variables by parsing a perl program

You can't. At least except for trivial and mostly uninteresting scripts it is either not possible or is infeasible. Consider:

use strict; use warnings; my $count = 1; while ($count < $ARGV[1]) { prn("$count\n"); } sub prn { print $_[0]; }

how do you deal with the loop limit being $ARGV1?

True laziness is hard work
  • Comment on Re: Ho wo create single BIG program with all values of variables by parsing a perl program
  • Download Code