Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by jedikaiti (Hermit)
on Mar 31, 2010 at 16:58 UTC ( #832090=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    our %<name>Cmd;
    do 'db/<name>Cmd.pm';
    ...
        $cmdData{$cmd} = {opcode => "0x$opcode",
                apid => "0x$apid"};
    };
    
  2. or download this
    %<name>Cmd = (
      'command_1' => {
    ...
        Command_maps => []
      }
    );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://832090]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
[LanX]: teh route I get from gmaps is 1662 km long and is crossing the Swiss Alps (mounting 2400 m) ... I wouldn't try this in December...
[LanX]: and Metz has a real train station !

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-12-13 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (369 votes). Check out past polls.

    Notices?