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)
WFtask.pm error
manju166
I am trying to insert the perl module "use Teamsite::WFtask.pm" in my external .ipl script and I get http error below
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.--------------------------------------------------------------------------------
Apache/1.3.17 Server at loudcm1 Port 80
_________________________________________________
First i thought i didnt have the module and when i did a search
i found it in ""\iw-home\iw-perl\site\5.00503\lib\TeamSite\WFtask.pm""
should i do anything else to insert the module in my code.
i did include the
#!d:\iw-home/iw-perl/bin/iwperl -w
#!d:\iw-home\iw-perl\site\5.00503\lib\TeamSite
any help is appeciated
Thanks
Find more posts tagged with
Comments
Migrateduser
The correct syntax for the
use
command is:
use TeamSite::WFtask;
You need to strip off the file extension.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
Adam Stoller
And to follow up on Smitty's accurate identification of the source of the problem ... because you used an incorrect syntax, Perl generated an error (or warning) message that was sent to STDOUT *before* you had initialized the browser page (content-type: text/html) - and thus the server generated its error message.
NOTE: you should always pre-test your Perl scripts by doing:
iwperl -w -c scriptname
To check for syntax errors like this.
--fish
(Interwoven Senior Technical Consultant)