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 ( #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
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? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-10-30 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls