Help for this page

Select Code to Download


  1. or download this
    #### Main.pm
    
    ...
    *bn = \%Bus::by_name;
    
    print $tn{Master}->name # Master
    
  2. or download this
    #### ChainSetup.pm
    
    ...
    
    package ChainSetup;
    my $master_fader = $tn{Master};
    
  3. or download this
    #### Globals.pm
    
    ...
    package ChainSetup;
    use Globals qw(%tn %ti %bn);
    print $tn{Master}->name; # can't do method 'name' on undef
    
  4. or download this
    #### Globals.pm
    
    ...
    eval $code;
    die "error: $@ in eval of code: $code" if $@;