SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Mar 2005
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Testing A Form Script Using a Local Install of Perl

    I have a form that the fields are parsed and emailed via a perl script. I don't have access to the remote server all the time, so I can't test changes to my perl script easily. I have perl installed locally on my win7 PC and would like to know how to use it to test my form script using it. Thanks!

  2. #2
    SitePoint Evangelist
    Join Date
    Jun 2007
    Location
    North Yorkshire, UK
    Posts
    483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use the command line interface of Windows and a command

    perl -d script.pl "field1=abc&field2=def"
    where script.pl is the name of your perl script and "field1=abc&field2=def" are the field names and their values.

    The -d means start the debugger


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •