Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 about the Monastery: (7)
As of 2014-09-21 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls