vijitha123
Programmer
Hi,
I am just new to perl.I I have a big perl file.I am trying to find the error.This is just the few lines if file.
#! /usr/bin/perl -w
use strict;
use warnings;
use Apache::Constants qw| REDIRECT OK |;
use Carp;
use Data:umper;
use DBI;
use TCO;
use TCO::Init;
### DM-MOD-INLINE - Removing Banned functionality
#use TCO::Banned qw ( get_mid_trust change_mid_trust );
### DM-MOD-FINAL REVIEW
no warnings "redefine";
my ( $dbh , $r , $s , $template ) = TCO::Init::new;
my $bogus = TCO::Init::scrub_params( $r , $s , {
'username' => 32 ,
'password' => 32 ,
'vendor_select_submit' => 32 ,
'vendor_oid' => 20 , # need to change my template for the vendor selection
} );
:::::::::
:::::::::
I am getting this error:Can't locate TCO.pm in @INC
I don't understand..
Module TCO in different directory..So do i have to use 'lib'.
Basically how do you debug your perl in unix...
I would love to hear from any one.
Viji
I am just new to perl.I I have a big perl file.I am trying to find the error.This is just the few lines if file.
#! /usr/bin/perl -w
use strict;
use warnings;
use Apache::Constants qw| REDIRECT OK |;
use Carp;
use Data:umper;
use DBI;
use TCO;
use TCO::Init;
### DM-MOD-INLINE - Removing Banned functionality
#use TCO::Banned qw ( get_mid_trust change_mid_trust );
### DM-MOD-FINAL REVIEW
no warnings "redefine";
my ( $dbh , $r , $s , $template ) = TCO::Init::new;
my $bogus = TCO::Init::scrub_params( $r , $s , {
'username' => 32 ,
'password' => 32 ,
'vendor_select_submit' => 32 ,
'vendor_oid' => 20 , # need to change my template for the vendor selection
} );
:::::::::
:::::::::
I am getting this error:Can't locate TCO.pm in @INC
I don't understand..
Module TCO in different directory..So do i have to use 'lib'.
Basically how do you debug your perl in unix...
I would love to hear from any one.
Viji