in reply to Seeking enlightenment: is there a reason for this unusual syntax?
An array in double-quotes interpolates with the array values separated by the value of the special variable: $" (which is space by default).my @ary = ('a','b','c','d'); print @ary; # prints "abcd" as four 1-char string values print "\n"; print "@ary"; # prints "a b c d" as a single string value
So the line you cite creates a single string consisting of all the concatenated elements of @_ separated by spaces.
HTH, David
|
---|