file`, `less file`); Is it guarante...">

Perl qx execution order in array initialization

Assuming I have the following:

my @net = (`echo "HELLO" > file`, `less file`); 

Is it guaranteed that the execution order is from 0..N (first the first element in the array is executed, then the second, etc.)?

I tested this and it really is, but can I count on it?

thanks,

+4
source share
1 answer

Yes. Each of the items separated by commas in your brackets () on the right side of the terms . They have the highest priority in Perl and rank from left to right. Backticks are quoted operators .

+6
source

All Articles