Web Hosting Talk







View Full Version : Perl Question


RandallKent
03-18-2003, 12:06 AM
Hey Everyone,

A lot of files in perl's loved @inc were deleted by the mod_perl hack. How, I don't know. I was wondering if it would be safe to do the command below. Are there any down sides to doing this?

Thanks :)

cp -r /home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/perl5/* /usr/lib/perl5


Randy

klynn
03-18-2003, 08:12 PM
It should be safe as long as the file has a .pm extension but there are some files that contain configuration data that would need to be changed. I'd suggest not overwriting files that already exist.