Help for this page
my $script = 'while(<>) { print; }'; close(STDIN); ... my $script_input = 'blah'; $stdin .= $script_input; eval $script;
my $script = 'while(<STDIN>) { print; }'; close(STDIN); ... my $script_input = 'blah'; $stdin .= $script_input; eval $script;