I've been receiving this weird error, Undefined Subroutine NAMESPACE:

UBROUTINE where NAMESPACE is the package and SUBROUTINE is the name of the sub routine... it happens not only on TAG_info, but CGI_info, and any other package's that are imported into the WFT file. Has anyone run into this? I have tried removing all the code, but I can't seem to get it to play nice. The packages are fine, I tested them with a normal IPL file. The code is pretty straight forward:
<template_script><![CDATA[
use lib '/iwmnt/default/main/upgrade/WORKAREA/library/perl';
use Tools;
use TeamSite;
################################################################################
# main template perl script
################################################################################
my $externalscript = '/iwmnt/default/main/upgrade/WORKAREA/workflow/bin/perl/wnet_transmittal.ipl';
my
@files = ();
my $iw_home = TeamSite::iwgethome();
my $iw_perl = $iwhome . '/iw-perl/bin/iwperl';
my $iw_user = __VALUE__('iw_user');
my $user_email = Tools::get_email_from_username($iw_user);
my $areavpath = '/default/main/wintranet/WORKAREA/not_shared_wa/';
I have my own package that utilizes the CLTs ... I have tried commenting out the use statements, and yes I changes the subroutine calls to the packages into returning empty strings.
Any ideas? I can post the entire WFT file is any thinks that would be helpful.