Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: To call a .pl file when a button is pressed on a GUI created using Perl CGI (webserver)

by Anonymous Monk
on Sep 24, 2013 at 12:12 UTC ( [id://1055480] : note . print w/replies, xml ) Need Help??


in reply to To call a .pl file when a button is pressed on a GUI created using Perl CGI

Its simple, you need a webserver

Why? Because webpages and CGI needs a webserver, thats how it works

Its weird that so many folks manage to create a GUI using Perl CGI without understanding this

learn about the internet,Web Programming: For Beginners, to get an overall picture of how the internet works, how tcp/ip, sockets, html, ajax, all fit together....

See also Mojolicious::Lite +and jQuery +AJAX + Mojo::Template

And a copy-pasta for you:)

Also, there are checklists for that , Basic debugging checklist , brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts

Yes, work through these checklists, when you find a problem on the list, use a solution from the list, when you find a problem not on the list (rare), post the error message and problem description here

brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts

So examine your server configuration and compare to https://httpd.apache.org/docs/2.2/howto/public_html.html#cgi / Apache Tutorial: Dynamic Content with CGI

learn about the internet,Web Programming: For Beginners, to get an overall picture of how the internet works, how tcp/ip, sockets, html, ajax, all fit together.

Replies are listed 'Best First'.
Re^2: To call a .pl file when a button is pressed on a GUI created using Perl CGI (webserver)
by nrabus (Initiate) on Mar 25, 2020 at 04:22 UTC
    Thank you. I'm a beginner with CGI/Perl. I want to see how the various components interact.