Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Formatting dynamic method names

by clinton (Priest)
on Oct 10, 2009 at 13:29 UTC ( [id://800455]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
        $object->set_date( $hash{ date } );
    
  2. or download this
    
    Method 1:
    ...
        $object->${ \"set_$_" }( $hash{ $_ } );
    }
    
  3. or download this
    
        $object ->${ \"set_$_" }( $hash{$_} );
    
  4. or download this
    
        #!/usr/bin/perl
    ...
                  }
        );
    
  5. or download this
    
                     Rate    deref temp_var
        deref    176991/s       --     -18%
        temp_var 215054/s      22%       --
    

Log In?
Username:
Password:

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

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

    No recent polls found