Copyright © tutorialspoint.com
Syntax
Definition and Usageqx() is a alternative to using back-quotes to execute system commands. For example, qx(ls -l) will execute the UNIX ls command using the -l command-line option. You can actually use any set of delimiters, not just the parentheses. Return Value
ExampleTry out following example:
It will produce following results:
|
Copyright © tutorialspoint.com