Hi everyone,
Is there any way to push a variable to @INC array in perl. I've noted if the full path is given then it accepts but a variable is given then it ignores,
Ex:
push @INC, "/home/user_x/custom_libs"; # working
my $LIB_PATH = "/home/user_x/custom_libs";
push @INC, $LIB_PATH; # not working