Okay now I'm really frustrated. I downloaded the CPAN module got it installed
made sure everthing was installed right. Proceeded to try and use it my
program and it dosen't work. For me atleast.
I'm not sure what I"m doing wrong. It is so simple I'm sure but well I'm not
getting it..... :( Please some one help.
Here is a sample of what I'm doing and what I want to accomplish.
I downloaded the CPAN module Date::Calc.
I want to find the 3rd Friday of the month and then I want to do something
else.
Here it is and this how i'm calling it. But it dosen't work.
use Date::Calc;
sub dateFriday
{
$day="friday";
$num="3";
my $dumpday = " $num $day ";
print ("$dumpday for level0 dump.");
}
print ( "Time to do level 0 dump\n", $d->dateFriday() ) ;
Error: Can't locate object method "dateFriday" via package "dateFriday" at
./listit line 13.
So what have I missed?
Anna
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]