#! /usr/bin/perl -w # put the values of lambda that you want into the following array: @clambda=( 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078 ); foreach $in ( 0 .. 12 ){ $out = $in + 1; # equilibration: open( MDIN, ">mdin"); print MDIN <mdin"); print MDIN <