#!/usr/bin/perl -w unless ($mon =~ /^Feb/) { print "This month has at least thirty days./n"; } lese { print "Do you see what's going on here?/n"; } #如果用if語句我們可以寫成這樣: if ($mon =~ /^Feb/) { print "Do you see what's going on here?/n"; } else { print "This month has at least thirty days./n"; }