in reply to Re: Re: How to compare arrays? (xmms alarm clock)
in thread How to compare arrays? (xmms alarm clock)
You can leave out the @timenow:
...just gives you the slice.@current = (localtime time)[1..2];
Hope this helps,
Jeroen
Update: You're welcome. That prob is easily solved with reverse:
@current = reverse (localtime time)[1..2];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re:{3} How to compare arrays? (xmms alarm clock)
by ginseng (Pilgrim) on Jun 29, 2001 at 10:36 UTC |