samtregar has asked for the wisdom of the Perl Monks concerning the following question:
use FindBin qw($RealBin); print "I am here: $RealBin\n";
And here it is running Fedora Core 1:
$ perl5.8.3 test.pl I am here: /home/krang
And here's Fedora Core 2, showing the rogue slash:
$ perl5.8.3 test.pl I am here: /home/krang/
Does anyone know what's going on here? I'm sure I can fix the code that's choking on the trailing slash, but I'd still like to know what's causing this difference in behavior.
-sam
|
|---|