Solved

run perl path

Posted on 2011-03-10
1
306 Views
Last Modified: 2012-05-11
Hi, I heard that perl must be run in the
[user/bin]

Open in new window

.
However I can run the script under my own folder
[user@user ~]

Open in new window

Why?(Fedora 14)

Thanks.
0
Comment
Question by:zhshqzyc
1 Comment
 
LVL 31

Accepted Solution

by:
farzanj earned 20 total points
ID: 35096219
There is no restriction on Perl to run on a specific folder.

At the top of your script, you need to include the path so that it can locate the compiler.  It has to be include in your path if you want to call it like

perl program.pl

Otherwise you will have to mention your complete path.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now