Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: Daft text adventure project

by swiftone (Curate)
on May 31, 2001 at 00:10 UTC ( [id://84362]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $characters{'Bob the Fighter'}->{'Feats'}= [ 'Strong Spit', 'Perl Guru
    +'];
    # or
    @feats = ('Strong Spit', 'Perl Guru');
    $characters{'Bob the Fighter'}->{'Feats'} = \@feats;
    
  2. or download this
    $characters{'Bob the Fighter'}->{'Feats'}->[1];
    #is equal to 'Perl Guru'
    
  3. or download this
    $characters[3]->{'Attributes'}->{'Str'};
    
  4. or download this
    $characters->{'Bob the Fighter'}->{'Attributes'}->{'Str'};
    
  5. or download this
    if($char{Bob}->{Feats}->{'Good With Pointy Objects'}){
        Kill_Bad_Guy();
    } else {
        Die_Hideous_Death();
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found