in reply to Re: what does my ($subdir, @keywords) = split; do.
in thread what does my ($subdir, @keywords) = split; do.

So as I now understand it

($subdir, @keywords) = split

Creates a list from a string in $_. It assigns the first value of that list into $subdir and the remaining values into the @keywords array.

($subdir, @keywords, $empty) = split

$empty does not recieve anything because all thevalues go into the @keywords array Thanks
  • Comment on Re^2: what does my ($subdir, @keywords) = split; do.