Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: P6: OO Wizard Game (RPG kinda, sorta)

by dragonchild (Archbishop)
on May 13, 2005 at 13:00 UTC ( [id://456707]=note: print w/replies, xml ) Need Help??


in reply to Re: P6: OO Wizard Game (RPG kinda, sorta)
in thread P6: OO Wizard Game (RPG kinda, sorta)

Don't you have to say .attack($enemy, %.weapons{$_}); }? $.weapons doesn't exist, only %.weapons does.

  • In general, if you think something isn't in Perl, try it out, because it usually is. :-)
  • "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"

Replies are listed 'Best First'.
Re^3: P6: OO Wizard Game (RPG kinda, sorta)
by Juerd (Abbot) on May 13, 2005 at 13:27 UTC

    Don't you have to say .attack($enemy, %.weapons{$_}); }?

    Yes.

      Well you don't have to in the current Pugs....So is that a bug then? Or something that is currently undefined? It is hard to tell often which is mostly why I started this thread.


      ___________
      Eric Hodges

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-24 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found