http://www.perlmonks.org?node_id=24410

Miker has asked for the wisdom of the Perl Monks concerning the following question:

Why does this run?
#!/usr/bin/perl $words = "This%is%Devious"; $words =~ s/%/ /eg; $words =~ s/ /%/eg; } print "$words\n";

If you remove the lone right bracket it will not run, but I can't figure out why this is. Any illumination would be much obliged:)