Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to run the perl script in Linux?

Status
Not open for further replies.

ashi

Member level 4
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
 

Re: How to run perl script?

change mode in the terminal (console)
1. $ chmod 755 script.pl
2. $./script.pl

enjoy
 

    ashi

    Points: 2
    Helpful Answer Positive Rating
Re: How to run perl script?

I tried what you said ghbolivar but it didn't work
 

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.
 

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?

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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top