in reply to Problem with param( ) in Calendar script

Hello again, jonnyfolk.

You have a conflict between CGI and HTML::AsSubs. Both modules have a param() method.

If you create a CGI object and use the param() method on it, it will work.

my $cgi = new CGI(); my $data="/path/data.txt"; my @Calendar = (); #my $checkthree = "1000"; my $checkthree = $cgi->param('check');

Replies are listed 'Best First'.
Re: Re: Problem with param( ) in Calendar script
by jonnyfolk (Vicar) on Nov 27, 2002 at 16:24 UTC
    Thanks once again, Mr. Muskrat

    I haven't dealt with objects yet - that's a great solution to this problem so I shall do some reading and get them in my armoury!