It's for my friend's program.

Gamespy was a 3rd party that enabled people to play games multiplayer.

Gamespy shuts down and does not exist anymore but abandoning players and their game.

My friend wrote in perl code that would allow players to play unreal tournament game and found out some other games would function too.

The program has a main folder with 5 other folders which contain a number of files in them, and a start file.

#!/usr/bin/perl package MasterServer; use strict; use warnings; use Cwd 'abs_path'; our $ROOT; BEGIN { ($ROOT = abs_path $0) =~ s{/util/masterserver\.pl$}{}; } use lib $ROOT.'/lib'; use MasterServer; our %S; require "$ROOT/data/masterserver-config.pl"; #add %C from config.pl to OBJ $MasterServer::OBJ->{$_} = $S{$_} for (keys %S); # load MasterServer core libs MasterServer::load_recursive('MasterServer::Core', 'MasterServer::UDP', 'MasterServer::TCP', 'MasterServer::Util'); # Run the MasterServer process MasterServer::run();

I can trace that out but I know there has to be a quicker way.

That is also the mean frame of the code.

I'm hoping to trace the whole program, from the maim to the sub-routines

Thanks!

In reply to Re^2: Code Flow by CougarXR7
in thread Code Flow by CougarXR7

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.