in reply to Unable to load the parser
The error you receive is that column_names_to_parser_str sub was not imported into main that is the current default namespace of the program.
Your syntax to import is very archaic do file.pl is an ancient thing no ones does nowadays.
To import beahaviours ie subs into main you'd better use modules; such modules normally use the core module Exporter to export subs into namenspace.
Maybe the parser.pl does not define import from nowhere any column_names_to_parser_str sub at all?
Your code it is alot for me to read now but Perl generates always good and useful errors. follow them. Perl also tell you something more if you use warnings; also use diagnostics; can be useful when debugging
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unable to load the parser
by shmem (Chancellor) on Apr 26, 2017 at 22:16 UTC | |
by Discipulus (Canon) on Apr 27, 2017 at 07:03 UTC | |
|
Re^2: Unable to load the parser
by amitkumarj441 (Initiate) on Apr 26, 2017 at 20:52 UTC |