use 5.010; my $hour = (localtime)[2]; say $_ % 24 for $hour-1 .. $hour+2;
In reply to Re: getting next 5 files according to hour
by JavaFan
in thread getting next 5 files according to hour
by shekarkcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |