in reply to Re^4: Multiple commands with one system call
in thread Multiple commands with one system call

if Perl detects any shell meta-characters, it forks-and-exec a shell to handle the command. So you can jam a series of shell commands into your system() call. Note that I said "can", not "this is a good idea." ;)
  • Comment on Re^5: Multiple commands with one system call