in reply to what does my ($subdir, @keywords) = split; do.
my () = rhs; puts rhs in a list context. The assignment is made to the elements in the order they are listed. So in the sample you gave the first element in the list ($subdir) gets the first element in the list created by split, and @keywords gets all the rest.
|
|---|