Read through to end before you decide what you do first. Some herein is essentially very very very typical sys admin things while other herein is Perl specific admin.
I use the
mirror-slackware-current.sh
script from next for ISO creation of current
Code:
http://connie.slackware.com/~alien/tools/
I'd guess that you could format your drive then fresh install current would likely get Perl to find File/Spec.pm
You could have already
cpan2tgz File::Spec
to see if that fixed your problem
--
Code:
al@P5Q:/var/log/packages$ pwd
/var/log/packages
al@P5Q:/var/log/packages$ ls | grep per
<snip>
perl-5.10.0-i486-1
The above package (5.10.1 for you). you might (at your own risk) try removepkg it and then download the same package from a mirror and installpkg (essentially a remove and a re install) in the case yours had a problem.
Abnormal (abnormal for Perl) (very much so) that perldoc displays for you while the File/Spec.pm cannot be found using the @INC search paths.
(to compare output for any differrences) You and some others that match your O.S. might run the next command that begins with perl
Code:
al@P5Q:~$ perl -e 'print @INC'
When ran on my Slack 12.2 (next)
Code:
al@P5Q:~$ perl -e 'print @INC'
/usr/lib/perl5/5.10.0/i486-linux-thread-multi/usr/lib/perl5/5.10.0/usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi/usr/lib/perl5/site_perl/5.10.0/usr/lib/perl5/site_perl/usr/lib/perl5/vendor_perl/5.10.0/i486-linux-thread-multi/usr/lib/perl5/vendor_perl/5.10.0/usr/lib/perl5/vendor_perl.al@P5Q:~$
Next, Slack 12.2 where Spec.perl_module is as well as its sub classes contained in the folder Spec/
Code:
al@P5Q:/usr/lib/perl5/5.10.0/File$ pwd
/usr/lib/perl5/5.10.0/File
al@P5Q:/usr/lib/perl5/5.10.0/File$ lsg Spe
Spec/
Spec.pm
al@P5Q:/usr/lib/perl5/5.10.0/File$