package vowCons2;
use strict;
use lib::avt;
my $self = {};
sub new {
  my $this = shift;
  my ($WORD) = @_;
my $voyConsDef = readConfFile($CONFIG_FILE/vowConsDef);
$self->{'V'} = $$voyConsDef{'V'};
 $self->{'C'} = $$voyConsDef{'C'};
 
 
 
 
I change
my $voyConsDef = readConfFile("$CONFIG_FILE/vowConsDef");
to : my $voyConsDef = readConfFile($CONFIG_FILE/vowConsDef);
 
I get this message
 
 
Global symbol "$CONFIG_FILE" requires explicit package name at vowCons2.pm line 18.
Compilation failed in require at sufpref.pm line 10.
BEGIN failed--compilation aborted at sufpref.pm line 10.
Compilation failed in require at ./base.pl line 32.
BEGIN failed--compilation aborted at ./base.pl line 32.
 
Should I create CONFIG_FILE directory ?
-- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Reply via email to