Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Repeating Code - there has GOT to be a better way!

by jethro (Monsignor)
on Mar 31, 2010 at 17:33 UTC ( #832100=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $Cmdref;
    #----------
    ...
    ...
      $opcode = sprintf("0%x",$Cmdref->{$cmd}{fixed_pattern});
    
  2. or download this
    my %ThingyCmd= ...
    push @main::allCmd,\%ThingyCmd;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2016-06-29 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (385 votes). Check out past polls.