in reply to Why does this compile? [Solved]
$nose !~/fubar/ and say "Super!"__END__
The __END__ token just tells Perl "stop reading the source right here". perlsyn says "Every simple statement must be terminated with a semicolon, unless it is the final statement in a block, in which case the semicolon is optional". This is exactly the optional case.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Why does this compile?
by karlgoethebier (Abbot) on Nov 25, 2024 at 18:44 UTC |