System
Previous  Top  Next

An easier way to launch a simple command that does not require multiple inputs, is probably the system call

01: $e_string = 'ls -l /root/';
02:
03: $output = system($e_string);
04: print "Output of \"$e_string\": $output\n";