Hello.
I have a problem embedding perl scripts in themes using the perl tag like stated in WHM's documentation:
The script is a simple two-liner chmodded to 755.
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.
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 ).Perl scripts can also be included in theme pages. In the following example, ex.pl would contain perlapi.txt commands as well as Perl code.
<perl /usr/local/cpanel/base/frontend/default/ex.pl>
The script is a simple two-liner chmodded to 755.
Code:
#!/usr/bin/perl
print('Hello! World');
Plus is there a way to run a perl script as the user logged into WHM using this tag?
Thanks in advance,
Lucas.