Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Role::Tiny: When to use apply_roles_to_object?

by Fletch (Bishop)
on May 02, 2019 at 16:26 UTC ( [id://1233288]=note: print w/replies, xml ) Need Help??


in reply to Role::Tiny: When to use apply_roles_to_object?

Not an outright answer but the example that comes to mind (vaguely from when I actually skimmed about it aeons ago when dinosaurs still roamed the earth) was the Self language (see Self_(programming_language); also this SO thread looks to have some good pointers (and discussion WRT to JavaScript which has similar prototype inheritance features)).

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Role::Tiny: When to use apply_roles_to_object?

Replies are listed 'Best First'.
Re^2: Role::Tiny: When to use apply_roles_to_object?
by karlgoethebier (Abbot) on May 02, 2019 at 17:01 UTC
    "...aeons ago...JavaScript which has similar prototype inheritance features"

    Do'h!. It's a matter of taste after all. I repressed my JavaScript experience. Or may be i never got a proper understanding of the language.

    Thanks and best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found