Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
adding CGI.pm to $iwhome/iwperl...
nipper
I want to write a couple of CGIs and would rather use CGI.pm than hard code the html in perl. Since this is supported by Perl 5.005_03 (which is the level of iwperl), but the module is not included.
Can I just copy in this module (on a Solaris box) & not break anything ? Anybody try this before ?
TIA
Andy
Find more posts tagged with
Comments
Johnny
It wont do any harm if you install it into your iwperl/lib
But theres no real need. There is a lite version available
TeamSite::CGI_lite
have a read with
perldoc TeamSite::CGI_lite
John Cuiuli
Consultant
Sydney, Australia
Johnny
Scratch that.
TeamSite::CGI_lite doesnt have the html print capabilities, only form/cookie parsing etc.
John Cuiuli
Consultant
Sydney, Australia
Migrateduser
Yes, it should work fine. We've been using it and haven't had any problems. We don't have it under iwperl/lib though, instead we just have it where the custom scripts live i.e. in httpd/iw-bin.
Adam Stoller
Unless something has changed that I missed, CGI.pm has always been included with the iwperl distribution. The main reasons for using TeamSite::CGI_lite over CGI.pm were: (a) size of the module / memory used for all the methods, (b) TeamSite specific functionality [like iwcallback()].
Other than that, there's no reason why you cannot use CGI.pm for your CGI scripts.
--fish
(Interwoven Senior Technical Consultant)