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

Creating flexible method accessor

by puterboy (Scribe)
on Feb 02, 2014 at 00:02 UTC ( [id://1073006]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub mk_data_accessors
    {
    ...
          }; die $@ if $@;
        }
    }
    
  2. or download this
    mk_data_accessors(qw(method1 method2 method3));
    
  3. or download this
    sub mk_data_accessors2
    {
    ...
          }; die $@ if $@;
        }
    }
    
  4. or download this
    mk_data_accessors2('{data}->', qw(method1 method2 method3));
    

Log In?
Username:
Password:

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

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

    No recent polls found