Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

<perl [script_path]> tag in WHM themes

Discussion in 'General Discussion' started by Bazer, Apr 2, 2005.

  1. Bazer

    Bazer Member

    Joined:
    Feb 18, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Hello.

    I have a problem embedding perl scripts in themes using the perl tag like stated in WHM's documentation:
    But the script doesn't run and the perl tag can be seen in html source ( beside that the theme loads flawlessly into WHM ).

    The script is a simple two-liner chmodded to 755.
    Code:
    #!/usr/bin/perl
    print('Hello! World');
    Is something in the perl script missing?

    Plus is there a way to run a perl script as the user logged into WHM using this tag?

    Thanks in advance,
    Lucas.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice