Can someone tell me how to run a Perl script on the server? I am uploading it using FTP script Does not work by adding I also for the last option You might Execute bit set is required: chmod + x filename.pl .pl to the CGI-bin folder. I also tried to upload it with CPNL.
BEGIN $ my $ base_module_dir = (-d / / home / username / perl '?' / Home / username / perl ': (getpwuid ($>))) [7] . '/ Pearl /'); Unshift @INC, Map {$ base_module_dir $ _} @ INC; }
#! / Usr / bin / perl
Comments
Post a Comment