Your message dated Sun, 28 Sep 2008 15:28:50 -0400
with message-id <[EMAIL PROTECTED]>
has caused the   report #499644,
regarding "state" variables in perl (perl 5.10 feature)
to be marked as having been forwarded to the upstream software
author(s) Nick Hibma <[EMAIL PROTECTED]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
499644: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499644
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Nick,

Perl 5.10[0] introduced various new language contructs[1] which aren't
yet handled by perl.vim.  Not all of the new features are enabled by
default[2] since they break backwards compatibility.  The attached patch
(from Anthony DeRobertis) adds the "state" keyword to
perlStatementStorage but there's a bit more that needs to be handled for
full 5.10 support and I'm not sure how you intend to handle (if at all)
the backwards compatibility problem.

[0] - http://dev.perl.org/perl5/news/2007/perl-5.10.0.html
[1] - http://search.cpan.org/dist/perl-5.10.0/pod/perl5100delta.pod
[2] - http://search.cpan.org/~rgarcia/perl-5.10.0/lib/feature.pm
--- perl.vim.old	2008-09-20 18:45:09.000000000 -0400
+++ perl.vim	2008-09-20 18:45:58.000000000 -0400
@@ -95,7 +95,7 @@
   syn keyword perlControl		BEGIN END CHECK INIT
 endif
 
-syn keyword perlStatementStorage	my local our
+syn keyword perlStatementStorage	my local our state
 syn keyword perlStatementControl	goto return last next redo
 syn keyword perlStatementScalar		chomp chop chr crypt index lc lcfirst length ord pack reverse rindex sprintf substr uc ucfirst
 syn keyword perlStatementRegexp		pos quotemeta split study

--- End Message ---

Reply via email to