Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 browsing the Monastery: (6)
As of 2015-04-27 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (499 votes), past polls