Joey Hess wrote: > my @PAPERS = `/usr/bin/paperconf -a`; > chomp @PAPERS; > my $TEMPLATE = 'libpaperg/defaultpaper'; > > subst($TEMPLATE, 'choices', join(", ", @PAPERS)); > } > input('medium', $TEMPLATE); Er, the scoping of $TEMPLATE is wrong of course, but you get my point. -- see shy jo