in reply to Re^2: Text Based Perl Game
in thread Text Based Perl Game

I appreciate the feedback. Thanks.

I will keep item no. one in mind going forward. As for item no. two, I had a feeling someone was going to point that out. I am so used to having forward declarations, that it kind of looks wrong to me if I don't have them in place. I do understand your point though.

Thanks again.

Replies are listed 'Best First'.
Re^4: Text Based Perl Game
by GrandFather (Saint) on Dec 27, 2013 at 04:31 UTC

    Short version: Don't use prototypes.

    Less short version: No, Really, Don't use prototypes.

    Long version: Prototypes (almost always) don't do what you want or what you think. Most people who use prototypes frequently come from a C or C++ background and they have carried over their function declaration habits to Perl without noticing that there are almost none of the type checking benefits and several subtle traps. So, don't do that.

    True laziness is hard work