programming-examples/perl/SystemFunction/Using system to call a command passed in by an array.pl
2019-11-15 12:59:38 +01:00

3 lines
109 B
Raku

@array= ("unlink", "delete_me.txt");
if(system(@array)) {die "The system call failed with this error: $?"}