In Perl, the main difference between system, exec and backtick is what happens during the compile time.
Just to refresh your memory, the backtick symbol ( ` ) is on the button above tab button.
Here's the comparison:
Just to refresh your memory, the backtick symbol ( ` ) is on the button above tab button.
Here's the comparison:
System | Exec | Backtick |
---|---|---|
System returns a value after a command is run, irrespective of whether the command executed successfully or failed. | Exec does not return a value. | Backtick is used to capture the output of a command. |
No comments:
Post a Comment