Keep It Simple, Stupid | |
PerlMonks |
Re: Seeking enlightenment: is there a reason for this unusual syntax?by dvergin (Monsignor) |
on Feb 17, 2002 at 03:55 UTC ( [id://145950]=note: print w/replies, xml ) | Need Help?? |
Consider this:
An array in double-quotes interpolates with the array values separated by the value of the special variable: $" (which is space by default). So the line you cite creates a single string consisting of all the concatenated elements of @_ separated by spaces.
HTH, David
In Section
Seekers of Perl Wisdom
|
|