G
guru
Can i use following statement to push path contained in $LINK_PATH to
@INC array.
$LINK_PATH = "/usr/raja/"
BEGIN {
push @INC,"$LINK_PATH";
}
when I see contents of @INC it is not adding.
I am trying to refer the module which is in other directory.
I will give path in command line. in the script I will get this path
and try to put in to @INC so that I can find those modules.
Can I use the above statement
BEGIN {
push @INC,'$LINK_PATH';
}
or how this can be done.
Thanks & Regards
Gururaja B O
@INC array.
$LINK_PATH = "/usr/raja/"
BEGIN {
push @INC,"$LINK_PATH";
}
when I see contents of @INC it is not adding.
I am trying to refer the module which is in other directory.
I will give path in command line. in the script I will get this path
and try to put in to @INC so that I can find those modules.
Can I use the above statement
BEGIN {
push @INC,'$LINK_PATH';
}
or how this can be done.
Thanks & Regards
Gururaja B O