> Just a brief of what is hapening > i have a file with text like this > > aaa.bbb e:\cme\abc.vws > > i am splitting this data based on space and want to move the data in > e:\cme\abc.vws to e:\cme1\. > How many spaces do you have between the filenames ? If more then one adjust your regex in split:
split /\s+/,$your_line; Hope it helps, Mulander -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>