bradcathey has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monasterians,
Having a problem with Web app, so I ran a syntax check from the command line:
myserver:/Rapid$ perl -c Categories.pm Base class package "Validate" is empty.
And the 'use' error. Here's how things are set up (file tree and the opening lines of each module. What am I not seeing?
Rapid.pm | Validate.pm | /Rapid/---+ | | Categories.pm #------------------------ package Rapid; use strict; use warnings; use Validate; #------------------------ package Validate; use strict; use Exporter 'import'; my @EXPORT = qw( val_alpha val_number val_whole val_int val_alphanum val_input val_text val_email val_selected val_filename ); #------------------------ package Rapid::Categories; use base qw(Rapid Validate); use strict; use warnings; use Validate;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Missing module error. Inheritance/Structure problem?
by ikegami (Patriarch) on Feb 02, 2008 at 15:22 UTC | |
|
Re: Missing module error. Inheritance/Structure problem?
by Joost (Canon) on Feb 02, 2008 at 15:47 UTC |