[Purdue-pm] Why does this work?
Rick Westerman
westerman at purdue.edu
Wed Apr 4 13:28:40 PDT 2012
Why shouldn't it work? I presume you are talking about "why does the null statement after the left brace not interfere with the program?" If so then the answer is simple -- it is a null statement.
----- Original Message -----
> 1 #!/usr/bin/env perl
> 2
> 3 use strict;
> 4 use warnings;
> 5
> 6 use feature 'say';
> 7
> 8 for my $i(1 .. 10) {;
> 9 say $i;
> 10 }
>
>
> ?? Why does that work?
>
>
> _______________________________________________
> Purdue-pm mailing list
> Purdue-pm at pm.org
> http://mail.pm.org/mailman/listinfo/purdue-pm
--
Rick Westerman
westerman at purdue.edu
Bioinformatics specialist at the Genomics Facility.
Phone: (765) 494-0505 FAX: (765) 496-7255
Department of Horticulture and Landscape Architecture
625 Agriculture Mall Drive
West Lafayette, IN 47907-2010
Physically located in room S049, WSLR building
More information about the Purdue-pm
mailing list