instance of class into sub?
From: gep (98734_at_mail.muni.cz)
Date: 06/16/04
- Next message: Richard Voss: "Re: instance of class into sub?"
- Previous message: kj: "Structure of complex distributions; CVS"
- Next in thread: Richard Voss: "Re: instance of class into sub?"
- Reply: Richard Voss: "Re: instance of class into sub?"
- Maybe reply: Gunnar Hjalmarsson: "Re: instance of class into sub?"
- Reply: Joe Smith: "Re: instance of class into sub?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 16 Jun 2004 17:52:25 GMT
How can i put cgi instance into sub?
i have main cgi script:
#!/usr/bin/perl -w
use CGI;
use strict;
use makepage;
...
my $cg=new CGI;
...
makepage->printhead($cg);
...
In makepage.pm is:
printhead {
my $cg={};
bless $cg, "CGI";
... #it is nice, e.g. $cg->url is OK, but whenever i try $cg->param,
it is empty
}
Don't anybody know, what to do whit this, many thanx, J. Slaby.
- Next message: Richard Voss: "Re: instance of class into sub?"
- Previous message: kj: "Structure of complex distributions; CVS"
- Next in thread: Richard Voss: "Re: instance of class into sub?"
- Reply: Richard Voss: "Re: instance of class into sub?"
- Maybe reply: Gunnar Hjalmarsson: "Re: instance of class into sub?"
- Reply: Joe Smith: "Re: instance of class into sub?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|