Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    if    ($days == 0) { print( "Merry Christmas!\n"            ); }
    elsif ($days == 1) { print( "Christmas is tomorrow!\n"      ); }
    else               { print( "Christmas is in $days days.\n" ); }
    
  2. or download this
    Christmas is in 78 days.