|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Cool Archlinux network scriptby jwkrahn (Prior) |
| on May 26, 2012 at 07:36 UTC ( #972585=note: print w/ replies, xml ) | Need Help?? |
|
Because of the low precedence of the or operator that will not do what you seem to think it will:
You need to use the higher precedence || operator:
That is usually written as:
You never use the $ifconf variable anywhere else in your program so why are you creating it? Just do:
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||||||