Miker has asked for the wisdom of the Perl Monks concerning the following question:
Why does this run?
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:)
#!/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:)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: The Lone Right Bracket
by turnstep (Parson) on Jul 26, 2000 at 09:13 UTC | |
by Miker (Scribe) on Jul 26, 2000 at 09:40 UTC | |
Re: The Lone Right Bracket
by btrott (Parson) on Jul 26, 2000 at 08:46 UTC | |
by Anonymous Monk on Jul 27, 2000 at 09:36 UTC | |
by btrott (Parson) on Jul 27, 2000 at 09:54 UTC |
Back to
Seekers of Perl Wisdom