Just a generic question (i.e. any examples are not real examples, so don't
solve them by themselves):
.* has a restriction of 32767 characters. Any ways around this?
(The context is the Parse::Any2xml module, which sadly has yet to be
CPAN-released but is on goreliance.com/devel .)
Say I have:
$f =~ /(.*)/;
$1 =~ /(monkey)\s+foo(\d{20})/;
(With a lot more context to make it not look silly :)
>From this I expected $f and $1 to be eqaul; however, if length($f) is
greater 32767 then $f is not equal to $1;
The only two options I can think of are 1) changing the '.*' to something
else and 2) making $f smaller. Aside from hacking Perl code (generally not a
good idea), has anyone else come across this as a problem and come up with a
better solution?
Sadly, regex-only solutions are what I need -- see the previously-mentioned
Parse::Any2xml for why..
--
Mike Burns <[EMAIL PROTECTED]> <http://netgeek.ws>
"A citizen of America will cross the ocean to fight for democracy, but won't
cross the street to vote in a national election." - Bill Vaughan
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm