Computing.Net > Forums > Linux > Perl script is not executing

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Perl script is not executing

Reply to Message Icon

Name: sri
Date: April 28, 2003 at 05:06:27 Pacific
OS: 8
CPU/Ram: p4
Comment:

Hi,

I am having one strange proble in redhat linux 8.I am trying to execute my perl script.This is giving ": bad interpreter: No such file or directory ".I have seen the path of my perl is
/usr/bin/perl.In my script also i have declared the same still i am not able to execute my perl program.can some one help me in this?.

Thanks in advance

Regards



Sponsored Link
Ads by Google

Response Number 1
Name: gmoney
Date: April 29, 2003 at 21:10:16 Pacific
Reply:

You need to provide more information like what *exactly* is in the first line of your script:

/usr/bin/perl
or
#!/usr/bin/perl

Does the script has execute priveldges?
Does perl work under that user from the commandline:
$ perl -e 'print "Hello, World!\n";'



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Perl script is not executing

PERL scripting problem www.computing.net/answers/linux/perl-scripting-problem/27682.html

Perl not quite working - help!! www.computing.net/answers/linux/perl-not-quite-working-help/27060.html

perl scripts for filtering mail www.computing.net/answers/linux/perl-scripts-for-filtering-mail/13380.html