Thread: Perl scripting
View Single Post
  #14  
Old 12-05-2003, 08:53 AM
Eglin
Hill Giant
 
Join Date: Nov 2003
Posts: 168
Default

Quote:
Originally Posted by Kroeg
I had to do this same thing, as I was getting a lot of error output in world and crashing all the time. If you have a problem when trying to Install IO:Scalar , then try truncating the directory name to your path of nmake.exe (if using MSVC++) , such as \visual~1\nmake.exe when executing the perl -MACPAN -e shell command.
That is an excellent tip, Kroeg! Thank you for pointing that out.

As a general rule, Activestate users should use ppm3 instead of cpan, but for some reason Activestate doesn't have a IO::Scalar ppm. I'm sure it is included with some other mods, but I can't remember which. Had I realized that it wasn't installed with the perl base, I probably would've avoided its use. The way that the perl interpreter crashes out instead of properly reporting the error is a source of concern to me, also. I'm wondering if I the dependency should just be removed. Plugins would have to be changed to stop using the PLUGIN filehandle for I/O, though.

At any rate, good pickup on the error, guys.
Reply With Quote