Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: When do you include the usual use pragmas in your example code?

by tobyink (Abbot)
on Aug 03, 2013 at 22:37 UTC ( #1047746=note: print w/replies, xml ) Need Help??


in reply to Re: When do you include the usual use pragmas in your example code?
in thread When do you include the usual use pragmas in your example code?

Here's my 202nd post... Standard way for displaying a script's output. :-)

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
  • Comment on Re^2: When do you include the usual use pragmas in your example code?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047746]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-06-28 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (631 votes). Check out past polls.