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)
Custom Perl module under TeamSite
System
Hi,
Can anyone suggest what should be the best process for creating and installing a custom perl module under TeamSite??
I have manually edited Usertask.pm under iw-perl/vendor/lib/TeamSite and created a new file called Mytask.pm. I saved this under same TeamSite folder.
But I can't access sub routines in this Mytask.pm as I haven't yet installed it.
I would be calling sub routines of this module from other scripts (like WFT file)
in following fashion -
use TeamSite::Mytask qw(
get_element_list
);
my $myvar = get_element_list();
Could you suggest what should be the best process to install the module!!
Thanks for your suggestions.
-PB
Find more posts tagged with
Comments
Migrateduser
I am using TS 6.1 on Solaris
gzevin
have you exposed you subroutines to the world? I am just presuming you know how to write stanard inteface for perl modules....
BTW, your question belongs to the PERL forum
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
Adam Stoller
The question *should* be in the Perl forum - but ...
The module should be in the *site* section of the perl/lib/ directory structure
For questions about debugging why you can't access methods in your module - please post details on the Perl forum.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Migrateduser
Problem resolved.
Thanks for your help.