Help for this page

Select Code to Download


  1. or download this
    my @input = split(/,/,$_);
    my $file_out= pop @input;
    ...
    foreach ...
    ...
      $_=~ s/<<<Variable_(\d+)>>>/$input[$1]/ge;
    
  2. or download this
    $_=~ s/<<<Variable_(\d+)>>>/if ($1>=@input) {''} else {$input[$1]}/ge;