You cannot use $s = "a" || $s = "b" (see perlop on precedence of operators), but you could use $s = "a" || "b" instead.
In reply to Re: Creating 2 sockets in a script.
by choroba
in thread Creating 2 sockets in a script.
by shankumajumdar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |