[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] bug?



Can anyone confirm whether or not this is correct behavior?

        print q{\{this # and that\}}

I would expect this to print:

        {this # and that}

But it prints:

        \{this # and that}

And ...

        print q{{this # and that\}}

returns:

        # Can't find string terminator "}" anywhere before EOF.

This to me seems like a bug.  I can understand treating { specially
throughout, but then it should be able to be escaped, as ' would.

I further confirmed the problem in perl5.00401, so unless I hear there is a
good reason for this, I'll report it to perlbug.

--
Chris Nandor             pudge@pobox.com             http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch