good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Net Use issuesby jasonk (Parson) |
on Feb 16, 2009 at 17:25 UTC ( [id://744146]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|