in reply to Running a Shell Script Snippet in Perl
Sorry, I'm not aware of using virtual machine commands. In general, system function will help you.
To execute a shell script file.
system("example.sh);
If you want to execute a multiple line shell script without using any external files, then you could write it as
system ("bash -c 'ls; date;'");
|
|---|