+ Reply to Thread
Results 1 to 5 of 5

Thread: PERL development setup - beginner

  1. #1
    gophercg is offline x10Hosting Member gophercg is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    3

    Smile PERL development setup - beginner

    Hi I'm starting to learn perl. I've PHP experience, and I mainly want to learn basic Perl with mySQL interactions.

    In class we logged onto school linux accounts remotely to run commands, edit .cgi files in place, or upload, all on the temp webhosting server. We add a 'd' suffix to turn on debugging.

    Now I'm testing on x10hosting. How do people debug, run etc? Right now I upload my perl .cgi file each time to test. No debug messages, no idea syntax correctness, I only see a working page or ERROR. Also, mysql has its own online pseudo commandline.

    So I'm wondering for both perl and mySQL, is it better to test remotely or locally, and what to setup on my machine (cygwin? fake sql perl simulators? a complete server on my laptop? dual boot to a prebuilt ISO of ubuntu server?) :eek4:

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: PERL development setup - beginner

    I like the versatility of having my own development server. You can install XAMPP very easily and it includes Perl, Apache, and MySQL, so you can have your entire site copied on your own PC.

    ActiveState makes ActivePerl. I've used ActivePython and it worked very well.

    links:
    http://www.activestate.com/activeperl/
    http://www.apachefriends.org/en/xampp.html
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: PERL development setup - beginner

    Once you've installed Perl on you own computer, you can use the Perl debugger, the ptkdb package or try an IDE (Open Perl IDE is open source).

  4. #4
    gophercg is offline x10Hosting Member gophercg is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    3

    Re: PERL development setup - beginner

    xampp looks cool.
    thanks,
    im wondering if there's an easy setup via cygwin, closest to a linux like setup?
    maybe works?:
    http://search.cpan.org/dist/DBD-mysq...ql/INSTALL.pod

    mainly cuz im used to cygwin, or maybe i can use xampp thru cygwin???

  5. #5
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: PERL development setup - beginner

    xampp is standalone, it doesn't "get installed" it is a set of programs that run on your computer. It has a control panel that lets you start or stop the programs as well as command line tools.

    All you have to do for xampp is copy the files to your computer. I recommend using the version with the installer. There's nothing to install, but it automatically copies the files to the right place and gives you the option to run the control panel at Windows startup.

    The beauty of xampp is you don't have to do compile php yourself. However, you are stuck with the version it comes with.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

+ Reply to Thread

Similar Threads

  1. Perl version on free host?
    By jdw999 in forum Programming Help
    Replies: 12
    Last Post: 04-06-2009, 08:40 PM
  2. E commerce Development – Important for Online Business
    By perceptionseo in forum Ads & Offers
    Replies: 0
    Last Post: 03-16-2009, 05:56 AM
  3. Internal Server Error FOR Perl script
    By radofeya in forum Free Hosting
    Replies: 0
    Last Post: 04-14-2008, 01:06 PM
  4. Free Development Web Software
    By Danfelbm in forum Graphics & Webdesign
    Replies: 1
    Last Post: 03-01-2008, 07:01 PM
  5. To all those using Perl and CGI
    By DefecTalisman in forum Free Hosting
    Replies: 0
    Last Post: 09-16-2007, 03:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers