Rad1W
11-19-2002, 03:41 PM
Is there a way to check my perl path besides having to ask the host. I use CPanel...
![]() | View Full Version : MY Perl Path Rad1W 11-19-2002, 03:41 PM Is there a way to check my perl path besides having to ask the host. I use CPanel... sasha 11-19-2002, 03:46 PM option 1. perl path might be on the front page of you CPanel interface option 2 if you have shell access symply type in whereis perl option3 keep changing path in your script by the time you get the correct location /usr/bin/perl /usr/local/bin/perl ..... /random/letters/and/slashes/perl Rad1W 11-19-2002, 03:53 PM It shows '/usr/bin/perl'...is that the correct one? And do I have to do anything to that code? beachtrader 11-19-2002, 06:24 PM This will be the first line in your perl program: #!/usr/bin/perl Do this if you want see the warnings (errors) from the script: #!/usr/bin/perl -w Now just write the rest of the script. Rad1W 11-21-2002, 06:51 AM thanks ALOT for the help. |