The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

<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:
    1
    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