Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Runtime introspection: What good is it?

by stvn (Monsignor)
on Jul 06, 2008 at 04:05 UTC ( [id://695784]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub clone {
        my ($value) = @_;
    ...
            return $value
        }
    }
    
  2. or download this
    multi sub clone (Object where { $_->can('clone') } $value) {
        return $value->clone;
    ...
    multi sub clone (HashRef $value) {
        return map { $_ => clone( $value->{$_} ) } keys %$value;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-03-28 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found