Feb 24, 2006 #1 A ashi Member level 4 Joined Jan 26, 2006 Messages 77 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Location Egypt Activity points 1,908 How to run perl script? can any one show me how to run perl script in linux
Feb 24, 2006 #2 G ghbolivar Full Member level 1 Joined Jul 25, 2001 Messages 97 Helped 7 Reputation 14 Reaction score 0 Trophy points 1,286 Activity points 764 Re: How to run perl script? change mode in the terminal (console) 1. $ chmod 755 script.pl 2. $./script.pl enjoy
Re: How to run perl script? change mode in the terminal (console) 1. $ chmod 755 script.pl 2. $./script.pl enjoy
Feb 25, 2006 #3 A ashi Member level 4 Joined Jan 26, 2006 Messages 77 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Location Egypt Activity points 1,908 Re: How to run perl script? I tried what you said ghbolivar but it didn't work
Feb 25, 2006 #4 S sundeep4u Newbie level 5 Joined Feb 13, 2006 Messages 8 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,281 Activity points 1,332 How to run perl script? have perl is proparely installed in system? to check is it installled or n't type "perl" in console if it show's no command found then verify u'r perl path.
How to run perl script? have perl is proparely installed in system? to check is it installled or n't type "perl" in console if it show's no command found then verify u'r perl path.
Feb 26, 2006 #5 gliss Advanced Member level 2 Joined Apr 22, 2005 Messages 691 Helped 75 Reputation 150 Reaction score 16 Trophy points 1,298 Activity points 5,892 Re: How to run perl script? Find out where Perl is installed on your system and put #!/usr/bin/perl In the first like of the perl script.
Re: How to run perl script? Find out where Perl is installed on your system and put #!/usr/bin/perl In the first like of the perl script.
Feb 28, 2006 #6 C communicator Newbie level 3 Joined Nov 10, 2004 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 30 Re: How to run perl script? You can check where it is installed by typing: $ which perl /usr/opt/bin/perl then you can add it to your path and run file using: $ perl filename or add the the line gliss send to the script and run it by executing script $ ./filename
Re: How to run perl script? You can check where it is installed by typing: $ which perl /usr/opt/bin/perl then you can add it to your path and run file using: $ perl filename or add the the line gliss send to the script and run it by executing script $ ./filename