Hi I need help in writing this perl code for matching a string with today's date.
I have the following code that gives me date:
#!/usr/bin/perl
($sec,$min,$hour,$mday,$mon,$year,$wday,
$yday,$isdst)=localtime(time);
printf "%4d-%02d-%02d\n",
$year+1900,$mon+1,$mday;
Result => 2007-02-20
I...