Help for this page

Select Code to Download


  1. or download this
    use constant WEEKDAYS => qw(Sunday Monday Tuesday Wednesday Thursday F
    +riday Saturday);
    print "".(WEEKDAYS)[1];    #case 1
    print    (WEEKDAYS)[1];    #case 2
    
  2. or download this
    syntax error at time.pl line 3, near ")["
    Execution of time.pl aborted due to compilation errors.