#!/usr/bin/perl print "Perl version is: $]\n"; use strict; use warnings; if ( 1 ) { warn "there can only be one, and it's in the IF clause\n" } else: # beware that colon!!!! that's Python, not Perl!!! { warn "there can only be one, and it's in the ELSE clause\n" } #### Perl version is: 5.026001 there can only be one, and it's in the IF clause there can only be one, and it's in the ELSE clause Perl version is: 5.032000 there can only be one, and it's in the IF clause there can only be one, and it's in the ELSE clause Perl version is: 5.033001 there can only be one, and it's in the IF clause there can only be one, and it's in the ELSE clause