This is a feature, trust me. CGI::Application, and many other modules all have param( ) methods. This (for one) allows them to communicate with each other, (for two) lets us remember only one interface to objects.
To avoid confusion, name your objects well in your code. Maybe it is just us but I never noticed / heard about anyone being confused about this ... maybe it is just a getting used to thing. However, you can (to a certain extent) avoid using this method between H::T and CGI.pm with the 'associate=>' switch for H::T new() method to simply attach the two, instructing H::T to find any unset vars in the CGI.pm object. For me, this is the reason why I have built more modules with the same interface (param()) ... this association thing is a really handy way to control your H::T objects in an abstract manner. -- Cory > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Will > Sent: Sunday, July 28, 2002 2:22 PM > To: HTML Template > Subject: [htmltmpl] Confusion > > > As I have been learning HTML::Template and CGI.pm... > I found something a bit confusing, so maybe you good > folks can help me clear it up... > > Both CGI.pm and HTML::Template have param() > functions... so I am concerned about confusing the > two... > > Any advice? > > Thanks, > > Will > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Html-template-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/html-template-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
