in reply to Splitting blunder
1) Are you sure you aren't having issues with escaping characters?
$string ="\\Server\user"; #WRONG! $string ='\\Server\user'; #right
2) What does @tmp look like? Try Data::Dumper. Is $string being placed in element 0, or what?
In Section
Seekers of Perl Wisdom