in reply to making perl more forgiving
for example: print "fox': would still run correctly! and print literally "fox".
Well, it isn't that hard to modify perl to allow that. Of course, as soon as you have a perl that allows that, you'll come crying "how do I print a sentence with a quote in it?", because if you write:
your perl is going to think the string ends after the O.print "O'Reilly";
Besides, if you can use either quote, what's this going to print:
will it do interpolation or not? And how many terminating delimiters are you going to allow if you start a string with qq !?my $value = 7; print "The value is $value';
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: making perl more forgiving
by ambrus (Abbot) on May 16, 2004 at 16:25 UTC |