Hdmovie2.pm
Here's a simple example of what a Perl module like "hdmovie2.pm" might look like, focusing on a basic movie search function:
Here is what happens when you click a movie link on hdmovie2.pm: hdmovie2.pm
1;
# ----------------------------------------------------------------- # 5. Perform the AJAX request that returns JSON with the video URL. # POST data: token=<decoded>&action=get_video # ----------------------------------------------------------------- my $json_resp = $self->_ajax_fetch($page_url, $decoded); return unless $json_resp; Here's a simple example of what a Perl module like "hdmovie2