how to run the perl file in the redhat linux 7.2

Status
Not open for further replies.

srik_naidu

Junior Member level 3
Joined
Jun 3, 2005
Messages
30
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,524
hi,
i am quit new the linux environment .i need information regarding how to run the perl file in redhat linux 7.2 . is perl software is inbuilt or i have to ldownload from the net and load the software.
if possible give me command for rnning the perl program in linux.

thanks iin advance,

with regards,
srik.
 

$which perl
and then modify your perl script first line.
such as:
#!/usr/bin/perl
 

use chmod command to change your file executable.
# chmod +x your_perl_script_file_name

#./your_perl_script_file_name
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…