Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: MooseX::SimpleConfig: role attribute cannot be made lazy

by choroba (Cardinal)
on Oct 26, 2011 at 15:13 UTC ( [id://933909]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package My::Base;
    use Moose;
    has filename => (is       => "ro",
    ...
    package main;
    my $x=My::Derived->new(filename=>"/etc/myconfig");
    print $x->config,"\n";'
    
  2. or download this
    /etc/myconfig.cfg
    

Log In?
Username:
Password:

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

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

    No recent polls found