- or download this
my $module = MyModule->new() ;
...
...
$module->process() ;
}
....
- or download this
use IPC::Open2 ;
....
sub process {
...
..
return @output ;
}
- or download this
print STDOUT "....." ;
- or download this
open OUT,">>", \$out ;
select OUT; $| = 1 ;