Bug#438367: Illegal division by zero on bogus match

2007-08-16 Thread Loïc Minier
On Thu, Aug 16, 2007, Florian Weimer wrote: > This is not illegal syntax, but parses as: > m/.*/ / g Oh ok; thanks for checking; I'll try perl -w next time! -- Loïc Minier

Bug#438367: Illegal division by zero on bogus match

2007-08-16 Thread Loïc Minier
Package: perl Version: 5.8.8-7 Severity: minor Hi, While writing some Perl, I stumbled on an invalid syntax trigerring an illegal division by zero in Perl: perl -e 'm/.*//g;' I don't know whether these bugs are a concern for Perl, but I'm reporting this and letting you close it i