in reply to Re^2: Post from jQuery to Perl - can't access parameters
in thread Post from jQuery to Perl - can't access parameters

Your $.post() is not submitting any data, because you're not telling it what data you want to post. (jQuery is a nice library, but it isn't psychic - you need to tell it what data to post.) Try something like:

$.post( '/cgi-bin/hello_world.pl', $('#frm_name_1').serialize() );
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Replies are listed 'Best First'.
Re^4: Post from jQuery to Perl - can't access parameters
by stuckdev (Initiate) on Mar 13, 2013 at 15:43 UTC

    OMG!! Thank-you thank-you! I'm getting the values into the file now...something I've struggled with for weeks. Bless you.

    I have it all working now...you are the best!