Help for this page

Select Code to Download


  1. or download this
    ...
    use CGI qw/:standard/;
    ...
    sub default {
      return "Sub default called";
    }
    
  2. or download this
    default() unless exists $run_level{$level}; 
    exit unless exists $run_level{$level}; # or add exit into default()
    &{ $run_level{$level} };