Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Cor—An object system for the Perl core

by Arunbear (Prior)
on May 20, 2020 at 15:52 UTC ( [id://11116992]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
  2. or download this
    $oh->add( 'a', 5 );           # like $oh{a} += 5
    $oh->concat( 'a', 'hello' );  # like $oh{a} .= 'hello'
    
  3. or download this
    >>> h = {'a' : 1}
    >>> h['a'] += 2
    ...
    >>> oh['b'] += ' world'
    >>> oh
    OrderedDict([('a', 5), ('b', 'hello world')])
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-29 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found