Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Error in Mod_perl compile with 1.2

Quote Reply
Error in Mod_perl compile with 1.2
Everything still loads and all fine, but I do get this error:

"my" variable $pt masks earlier declaration in same scope at GForum::Payment::donation line 1105.
dave

Big Cartoon DataBase
Big Comic Book DataBase
Quote Reply
Re: [carfac] Error in Mod_perl compile with 1.2 In reply to
Can you post the relevant code.

The error (warning) means that $pt has been declared with my() in the subroutine, but then redefined further down..eg...

sub something {

my $pt;

...some code ....

my $pt;
}

Last edited by:

Paul: May 28, 2003, 12:12 PM
Quote Reply
Re: [carfac] Error in Mod_perl compile with 1.2 In reply to
Yeah, I fixed this a few days ago in the download - but I've attached the fixed GForum/Payment.pm file here.

Edit: Oops, attached the wrong file before.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com

Last edited by:

Jagerman: May 28, 2003, 12:42 PM
Quote Reply
Re: [Jagerman] Error in Mod_perl compile with 1.2 In reply to
J-Man:

Cool- just thought you'd want to know.

BTW, you wrote:

Quote:


Yeah, I fixed this a few days ago in the download - but I've attached the fixed GForum/Payment.pm file here.


But you attached GForum.pm...

Not to be a pest.... but did you attach the wrong file (GForum instead of Payment.pm), mean to attach GForum.pm and noted the wrong file (Payment.pm), or attach the right file and I am screwed up?
dave

Big Cartoon DataBase
Big Comic Book DataBase
Quote Reply
Re: [carfac] Error in Mod_perl compile with 1.2 In reply to
In Reply To:
But you attached GForum.pm...

Not to be a pest.... but did you attach the wrong file (GForum instead of Payment.pm), mean to attach GForum.pm and noted the wrong file (Payment.pm), or attach the right file and I am screwed up?

Oops, yeah, I attached the wrong one Blush

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Error in Mod_perl compile with 1.2 In reply to
Thanks J-Man! Wink
dave

Big Cartoon DataBase
Big Comic Book DataBase