I apologize that I am not a perl programmer in advance: Please forgive me! :-)
I am attempting to set the extended attributes on files in a branch that I have copied from another branch.
I am using set_attributes_nt.ipl
It works for the majority of the files except for paths that have spaces.
Example: Y:/main/branch/WORKAREA/Dave_wa/default.asp=TeamSite/Templating/PrimaryDocumentType=Template B/Landing
The space between the word "Template" and the letter "B" cause issues. The line of perl that splits the paths is the middle line below:
chomp($_);
($file,$attribute) = split ("=", $_, 2);
$cmd = "$iwextattr -s $attribute $file";
My keen sense of logic tells me that the $attribute parameter has a value of "Template" and not "Template B/Landing".
A) Who can suggest a fix to this split function?

Is there an updated .ipl I really should be using?
C) I'm living in the past and the new way to do this is...
Thanks!
-Dave