Skip Menu |

This queue is for tickets about the Text-Balanced CPAN distribution.

Report information
The Basics
Id: 5722
Status: new
Priority: 0/
Queue: Text-Balanced

People
Owner: Nobody in particular
Requestors: gm [...] virtuasites.com.br
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Text-Balanced bug with quotelike!
I found a bug on version 1.83 that still exists on 1.95, where "/" when used to divede is matched as a pattern! Here's a code that won't be parserd fine: my $var = 10 / 3 ; if ( $var !~ /\./) { descimal() ;} The bug is at "10 / 3", where Text-Balanced will match a pattern (quotelike) from "/ 3" until "/\.". Where the placeholder will be put at: my $var = 10 /.... ................/) { descimal() ;} I know that this is not a easy thing to fix, but is needed, since we just can't use / for math! [I have sen't this msg to your e-mail too]. Tested on Perl-5.6.1-Win32 and Filter::Simple. Regards, Graciliano M. P.