http://www.perlmonks.org?node_id=744146


in reply to Net Use issues

You instruct the user to enter the ip addresses as 'xxx.xxx.xxx.xx, xxx.xxx.xxx.xxx' but then you split them just on ','. If the user follows your instructions, then all the ip addresses after the first one have a leading space, which means \\\\$ip\\ becomes \\\\ $ip\\, which fails, but you never find out if fails because (like everyone else said) you never check whether the commands succeeded or not.


www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!