- or download this
$output = qx/ls/ ;
print $output ;
- or download this
use Win32::Script qw/WScript/ ;
$output = WScript('Shell')->Exec("ls")->StdOut->ReadAll ;
print $output ;
- or download this
<SCRIPT language="PerlScript">
$output = qx/ls/ ;
$window->document->write($output) ;
</SCRIPT>
- or download this
<SCRIPT language="PerlScript">
use Win32::Script qw/WScript/ ;
$output = WScript('Shell')->Exec("ls")->StdOut->ReadAll ;
$window->document->write($output) ;
</SCRIPT>
- or download this
<SCRIPT language="PerlScript">
qx/ls > output.txt/ ;
</SCRIPT>