# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
export CTC_HOME=/Inf/work/
#PATH=$PATH:$HOME/.local/bin:$HOME/bin
#export PATH
####
#!/bin/perl
#
use strict;
use warnings;
if(-s "/cs/ctc/.bash_profile"){
`source ~/.bash_profile`;
}else {
print "The file doesnot exists","\n";
exit 1;
}
my $dir = "cd $CTC_HOME";
chdir($dir);
##
##
Global symbol "$CTC_HOME" requires explicit package name at ./program.pl line 12.
Execution of ./program.pl aborted due to compilation errors.