in reply to Re^3: Display perl code output in CGI script
in thread Display perl code output in CGI script

Then how can integrate functionalities of PERL function in main.pl. How can I create an interactive GUI using perl and use it in main.pl?

  • Comment on Re^4: Display perl code output in CGI script

Replies are listed 'Best First'.
Re^5: Display perl code output in CGI script
by marto (Cardinal) on Dec 21, 2011 at 09:57 UTC

    Tk is a GUI toolkit, not a web based framework. My suggestion is that you have one script (main.pl for argument sake) which displays your user interface (learn about HTML/CSS/JavaScript). I'd advise against embedding the HTML etc within your perl script. Consider using HTML::Template (or Template::Toolkit).

    Your example Tk program doesn't do much. You could easily replace it with an HTML user interface using advice in links you've already been given.

Re^5: Display perl code output in CGI script
by Anonymous Monk on Dec 21, 2011 at 09:55 UTC

    Then how can integrate functionalities of PERL function in main.pl.

    Are you talking about Calculus?

    How can I create an interactive GUI using perl and use it in main.pl?

    What does interactive GUI mean to you? what will it do ?

      I believe they mean how can they use Perl while providing a web based user interface which is capable of animation, and so on.