How to add the condition like, if date is greater, then print only that row.foreach my $ids (@id_list){ print "$ids-->$date-->$time\n"; } output: real-->2004-11-10-->65519 real-->2004-11-10-->77777 real-->2004-11-10-->33333
In reply to check for date and time by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |