Eclipse+epic Building Perl development environment

Source: Internet
Author: User
Tags perl interpreter

Perl, if purely just as a script function to write dozens of lines of code, implement small functions, with nodepad++, EditPlus is enough, if it is enterprise-class development, hundreds of PM modules, hundreds of thousands of lines of code debugging, with these editors is far from enough! At this point, the enterprise-class IDE has an advantage. Below in detail, under window use eclipse+epic+padwalker to build the Perl development environment!


"Step One": Download and install the latest Perl interpreter ActiverPerl5.20.

Http://www.activestate.com/activeperl/downloads

"Step Two": Download and install the JDK

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

"Step three": Download and Eclipse, note and JDK, OS version compatible

http://www.eclipse.org/downloads/
"Step Four": Download the perl Eclipse IDE plugin Epic

    • Method One: Help-->eclipse marketplace--> input epic--> Select Install and update

    • method Two: Help->install New software-> Enter the following URL-->next,next install
epic-http://e-p-i-c.sf.net/updates/testing

Note:  

1. Two types must be proxy settings, Proxy Setup method:

Window->preferences->general->network connections->manual Proxy Configuration

2. after installation, you can see the camel icon, you can write the code inside!

"Step Five": Download the package Padwalker required for Perl debug

    • method One: Use ppm to install View->all packages-> input padwalker-> Right-click to select the package, tap the upper right corner =

    • Method Two: Manual installation, the following is the manual installation steps

1. padwalker:http://www.bribes.org/perl/ppm/

2. Unzip the downloaded file

3. Copy: blib/lib/padwalker.pm to Perl/lib (Perl installation path)

4. Copy: Blib/arch/auto/padwalker to Perl/lib/auto

5. Test: Create a new *.pl file and write the following

My $input = <STDIN>; #input from user
Print $input;

Then in print $input, set breakpoints, right-click Debug as--Perl to test.

Note: Debug may not be possible after installation, can be resolved as follows.

Modify the perl/lib/cwd.pm file sub _win32_cwd {    if (eval ' defined &dynaloader::boot_dynaloader ') {Modified to: Sub _WIN32_CWD {    if (defined &dynaloader::boot_dynaloader) {



Eclipse+epic Building Perl development environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.