Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Runtime introspection: What good is it?

by Joost (Canon)
on Jul 06, 2008 at 13:13 UTC ( [id://695820]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $object = ....;
    $object->field1 = 2;
    my $d = $object->field1;
    # ...
    
  2. or download this
    my $object = ....;
    $object->set("field1",2);
    my $d = $object->get("field1");
    
  3. or download this
    for my $field ($object->fields) {
      print $object->$field();
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found