note
exilepanda
Hey, this one is interesting and seem very likely what I am looking for... but please have a look for what I am planning to do, and could you advise can I do this inside the code rather than pipe it from the shell?
<code>
$ENV{REQUEST_METHOD} = "POST";
open F, "testplan.txt" or die $!;
while ( chomp ( my $data = <F> ) ) {
### DO ANYTHING TO MAKE $data BECOME STDIN ###
# the main() script that reads and handle the form
# print final result
# next test plan data
}
close F;
</code>
1094421
1094513