Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: each function

by tobyink (Canon)
on Jun 03, 2014 at 17:27 UTC ( [id://1088469]=note: print w/replies, xml ) Need Help??


in reply to each function

There are very good reasons to avoid using each entirely.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Replies are listed 'Best First'.
Re^2: each function
by adriang (Sexton) on Jun 04, 2014 at 17:28 UTC

    Thanks, it help me alot.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found