Solved

run perl path

Posted on 2011-03-10
1
310 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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