Yeah, that's cheating. Yeah, it's ugly. Yeah, it works.if ("@current" eq "@wake") { # do something }
Update: Per tadman's suggestion, one might also do something like and @current == @wake as an additional comparison.
In reply to Re: How to compare arrays? (xmms alarm clock)
by chromatic
in thread How to compare arrays? (xmms alarm clock)
by ginseng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |