Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
        getreports($_, $level + 1) foreach (@employees);
    }
    
  2. or download this
    |
    +- big boss
    ...
          +- worker 1
          |
          +- worker 2