Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 pondering the Monastery: (5)
As of 2015-07-05 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls