How to run perl script on linux server, which is operated by cPanel? -


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 .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; }   

I also for the last option

  #! / Usr / bin / perl   

You might Execute bit set is required: chmod + x filename.pl

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -