If you wan't to load another page, you have to use javascript (ajax)

so you need to know about DOM (html) and ajax(javascript+http)

These might help
http://search.cpan.org/dist/CGI-Ajax/MANIFEST
http://www.cgi-app.org/index.cgi?AjaxInfo
Using Ajax from Perl - Perl.com
http://stackoverflow.com/questions/6176341/ajax-applications-with-perl-backend-how-to
Using JQuery and AJAX in Mojolicious
Using JQuery and AJAX in Mojolicious
https://github.com/yko/mojolicious-example-ajax
on trying to debug javascript through perlmonks
Firebug
http://api.jquery.com/
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.
An AJAX CRUD Interface with Catalyst and jQuery
http://thedailywtf.com/Articles/Ajax-in-the-Underworld.aspx

I really liked the video


In reply to Re: Perl CGI multiple buttons (http/ajax) by Anonymous Monk
in thread Perl CGI multiple buttons by ckant8

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.