Help for this page

Select Code to Download


  1. or download this
    ### Create some entries in various CSV tables
    # Maria is a person
    ...
    aid get maria perlmonks
    
    ### More to come...
    
  2. or download this
    use Function::Parameters; # works with App::Rad, while Kavorka doesn't
    
    ...
    # $data is a wrapper object to a csv file: person.csv / bank.csv / etc
    #     This way I can delegate the work to these different entities
    # $data_type is not used here, but could be used to display a message
    
  3. or download this
    use Class::Method::Modifiers;
    
    ...
    sub add ($data, $data_type, $name) {
        $data->add($name);    
    }
    
  4. or download this
    Can't locate object method "add" via package "App::Rad" at bin/arb-aid
    +.pl line 58.
            main::add('App::Rad=HASH(0xa20010)') called at /home/user/.per
    +lbrew/libs/perl-5.16.3@devel/lib/perl5/App/Rad/Command.pm line 251
    ...
            App::Rad::_run_full_round('App::Rad=HASH(0xa20010)', 'CODE(0xa
    +34138)') called at /home/user/.perlbrew/libs/perl-5.16.3@devel/lib/pe
    +rl5/App/Rad.pm line 602
            App::Rad::run('App::Rad') called at bin/arb-aid.pl line 2