Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: Wizard v1.0

by Limbic~Region (Chancellor)
on Sep 22, 2002 at 19:20 UTC ( [id://199940]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Wizard v1.0
in thread Wizard v1.0

I don't want to fix all the problems in my reply - I was hoping my pointers would lead you to find your own problems. Here are some more pointers to get you started.

  • Do not create a sub called stat - use uppercase or change the name because of the Perl built in stat
  • You include subs within subs, which is not what I believe you intended to do. You have the correct number of curly braces, just not where they should be - consistent indentation is the key.
  • Your sluggishness you mentioned I am betting only occurs after playing the game a while - that is because you never let a sub properly exit, you just keep calling subs within subs

    I should have something for you to look at by tonight, but if not - /msg me (you do have a real account right?)

    Limbic~Region

  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://199940]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others chilling in the Monastery: (4)
    As of 2024-04-25 07:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found