go ahead... be a heretic | |
PerlMonks |
Re^3: Net::IRC Auto-OPby friedo (Prior) |
on Jun 03, 2007 at 21:46 UTC ( [id://619006]=note: print w/replies, xml ) | Need Help?? |
This:
doesn't make sense. You're checking $nick for string-equality with the logical-ORed value of "xxx" and "yyy" which is just going to be "xxx". What you probably meant was If you have a bigger list of nicks you can use a hash, which is a lot easier than constructing a gigantic conditional.
In Section
Seekers of Perl Wisdom
|
|