This is becoming a bit too long and somewhat not related to Perl (at
least in my opinion). Quick and dirt suggesion: link .bash_profile to
.profile to see if it solves the problem, and that means that the Bash
is reading one file instead of the other. If that works, remove the
other file (see below).
Moreover making an echo in .bash_profile (or .profile) will probably
not help at all, since in a graphical environment there is not a login
shell to display such message, and therefore it has to be redirect to
something else (e.g., a file).
The man page for bash shows that:
When bash is invoked as an interactive login shell, or as a
non-interactive shell with
the --login option, it first reads and executes commands from
the file /etc/profile,
if that file exists. After reading that file, it looks
for ~/.bash_profile,
~/.bash_login, and ~/.profile, in that order, and reads and
executes commands from the
first one that exists and is readable.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/