Help for this page

Select Code to Download


  1. or download this
    use vars '$start';
    sub Start_timer : Test(startup) {
    ...
        print time - $start;
        ...
    }
    
  2. or download this
    sub get_or_init_start_time {
        state $start ||= time;
    }