if pass the values to check_time like this its getting different values:
[code=perl]
use Date::Calc qw(:all);
$hh="jjjjjjjjjj jjjjjjj";
$mm="bnsdgs";
$ss="kdhhgfdfdh ";
if(check_time($ hh,$mm,$ss))
{
print "valid time:";
}
else
{
print "Inva;id time";
}
[/code]
here i am getting the valid time as output..
please tell me the reason..
thank u,
Manogna........ ..
[code=perl]
use Date::Calc qw(:all);
$hh="jjjjjjjjjj jjjjjjj";
$mm="bnsdgs";
$ss="kdhhgfdfdh ";
if(check_time($ hh,$mm,$ss))
{
print "valid time:";
}
else
{
print "Inva;id time";
}
[/code]
here i am getting the valid time as output..
please tell me the reason..
thank u,
Manogna........ ..
Comment