What’s the differences between system and backticks and pipes in Perl?

  • system(): runs command and returns command’s exit status
  • backticks: runs command and returns the command’s output
  • pipes : runs command and allows you to use them as an handle

Also backticks redirects the executed program’s STDOUT to a variable, and system sends it to your main program’s STDOUT.

Leave a Comment