i am unable to run my programs.When i will run my programs through prompt>perl sched_appl_list_form it is giving error as:
Undefined subroutine & main::read_template called at sched_appl_list_form at line 46
BEGIN failed -- Compilation aborted at sched_appl_list_form at line 47
line 46: $sched_appl_list_form::SCHED_APPL_LIST_FORM_TMPLSTR = ::read_template("sched_appl_list_form"

;
line 47: }
Now i will send u full code of above program just tell me what is the error and what i have to do for it.
#!/usr/bin/perl
#!/mnt/hprod05/appln/cert/net/sys/bin/perl
#
# sched_appl_list_form
#
package sched_appl_list_form;
BEGIN {
}
use strict;
my($patch_display_data) = {};
%$patch_display_data = %$::data;
my($testcenter_slot_db_info) = {};
Relation::Testcenter:

repare_testcenter_slot_db_info($testcenter_slot_db_info);
$patch_display_data->{'js_testcenter_slot_db_info'} =
Relation::Testcenter:

repare_js_testcenter_slot_db_info($testcenter_slot_db_info, [ ["", "", 0] ], [ [ "All", " All "] ]);
my($testcenter_code, $testcenter_name) = ([], []);
Relation::Testcenter::get_testcenter_code_name(undef, $testcenter_code, $testcenter_name);
$patch_display_data->{'testcenter_list'} =
:

repare_options([ "All", @$testcenter_code ],
[ "All", @$testcenter_name ],
undef, undef, undef);
my($module_code, $module_name) = ([], []);
Relation::Testdef::get_testdef_code_name(undef, $module_code, $module_name);
$patch_display_data->{'module'} = "<SELECT NAME=module>";
$patch_display_data->{'module'} .=
:

repare_options([ "All" , @$module_code], [ "All" ,
@$module_name], undef, undef, undef);
$patch_display_data->{'module'} .= "</SELECT>";
$patch_display_data->{'slot_list'} =
:

repare_options([ "All" ], [ " All " ], undef,
undef, undef);
return :

atch_template($sched_appl_list_form::SCHED_APPL_LIST_FORM_TMPLSTR, $patch_display_data);
#------------------------------------------------------------------------
BEGIN {
$sched_appl_list_form::SCHED_APPL_LIST_FORM_TMPLSTR = ::read_template("sched_appl_list_form"

;
}
no strict;
(RaviShanker)
[sig][/sig]