Hi Gerald, Andreas,

On Tue, Dec 31, 2013 at 05:01:28PM +0100, Gerald Richter - ECOS wrote:
> this looks like an Embperl problem, but I didn't seen it before (I am still 
> using Perl 5.16 not Perl 5.18).
> 
> Do you have a short test file that you can send me, so I can reproduce the 
> error here?


> Von: Andreas Rieke [mailto:andreas.ri...@isl.de] 
> 
> Error in Perl code: Label not found for "last l9" at 
> /opt/apache/htdocs/management/admin/user2accessgroup.epl line 80.

in addition to Andreas' test case, when I run the test suite on Perl 5.18.2
(Debian testing) I see:


#68 selecttab.htm...

[-1][1341]ERR:  24:  Error in Perl code: Label not found for "last l19" at 
/home/fs/src/pkg-perl/git/packages/libembperl-perl/test/html/selecttab.htm line 
101, <F2> line 73.

#69 selecttab2.htm...

[-1][1341]ERR:  24:  Error in Perl code: Label not found for "last l3" at 
/home/fs/src/pkg-perl/git/packages/libembperl-perl/test/html/selecttab2.htm 
line 25, <ERR> line 99.


I hope this helps in nailing things down.

I'm also attaching two patches about POD errors and spelling that make
some of our tools unhappy. Looking forward to an RC5, there are quite a
few changes in SVN...

Florian
Description: fix some POD errors offending to pod2text, lintian
 In addition and not fixed by this patch, Embperl/Form/Control/duration.pm has
 the same POD as price.pm, which is likely wrong on a factual level. Both
 files use a code point 0x80 in POD and as a string constant, which is the
 EURO sign from Windows-1252 but unavailable in latin1, 0xA4 in iso8859-15,
 U+20AC or perhaps best spelled out as 'EUR'
Author: Florian Schlichting <f...@debian.org>

--- a/Changes.pod
+++ b/Changes.pod
@@ -1,6 +1,8 @@
 =pod
 
-=head 2.5.0
+=encoding iso8859-1
+
+=head1 2.5.0
 
     - Do not clear old code before compiling a Embperl page
       in Perl >= 5.14.x because it causes seg faults. This
@@ -48,7 +50,7 @@
     
     Adaptions to Perl 5.14/16 were sponsored by NUREG GmbH
 
-=head 2.4.0  4. Oct 2010
+=head1 2.4.0  4. Oct 2010
 
     - Support for CGI.pm 3.43 (included within Perl 5.10.1)
       for file uplaods. CGI.pm < 2.43 is not supported anymore.
--- a/Config.pod
+++ b/Config.pod
@@ -1,4 +1,4 @@
-
+=encoding iso8859-1
 
 =head1 NAME
 
@@ -2004,22 +2004,22 @@
 
 =over 
 
-=item 0
+=item C<0>
 
 don't interpret input (default)
 
 
-=item 1   
+=item C<1>
 
 unescape html escapes to their characters (i.e. &lt; becomes < )
 inside of Perl code
 
-=item 2
+=item C<2>
 
 unescape url escapes to their characters (i.e. %26; becomes & )
 inside of Perl code
 
-=item 3
+=item C<3>
 
 unescape html and url escapes, depending on the context
 
--- a/FeaturesD.pod
+++ b/FeaturesD.pod
@@ -1,5 +1,7 @@
 =pod
 
+=encoding iso8859-1
+
 =head1 NAME
 
 Embperl::Features - Features von Embperl 2.0
--- a/Embperl/Form/Control/duration.pm
+++ b/Embperl/Form/Control/duration.pm
@@ -99,6 +99,8 @@
 
 =pod
 
+=encoding iso8859-1
+
 =head1 NAME
 
 Embperl::Form::Control::price - A price input control with optional unit inside an Embperl Form
--- a/Embperl/Form/Control/price.pm
+++ b/Embperl/Form/Control/price.pm
@@ -133,6 +133,8 @@
 
 =pod
 
+=encoding iso8859-1
+
 =head1 NAME
 
 Embperl::Form::Control::price - A price input control with optional unit inside an Embperl Form
--- a/Embperl/Form/Control/table.pm
+++ b/Embperl/Form/Control/table.pm
@@ -271,34 +271,34 @@
 
 =over
 
-=item 0
+=item C<0>
 
 Key for into data hashref
 
-=item 1
+=item C<1>
 
 Text to display
 
-=item 2
+=item C<2>
 
 Colspan (how many colums this cell should span)
 
-=item 3
+=item C<3>
 
 If set a control is displayed instead of a text. Must contain:
 
 radio,<name>,<value> or checkbox,<name>,<value>
 
-=item 4
+=item C<4>
 
 Display as link. This item contains the name of the key in the data hashref
 that holds the href.
 
-=item 5
+=item C<5>
 
 target for link
 
-=item 6
+=item C<6>
 
 Name of filter function. The value of the cell is process through this filter.
 Filter functions are passed as hashref of subs in the parameter 'filters' .
--- a/Embperl/Form/Validate.pm
+++ b/Embperl/Form/Validate.pm
@@ -30,6 +30,8 @@
 
 $VERSION = '2.5.0' ;
 
+=encoding iso8859-1
+
 =head1 NAME
 
 Embperl::Form::Validate - Form validation with server- and client-side support.
Description: Fix typos in POD
Author: Florian Schlichting <f...@debian.org>

--- a/Config.pod
+++ b/Config.pod
@@ -31,7 +31,7 @@
 
 If you have your own application and want to use Embperl's capbilities you can
 do so by calling Embperl::Execute. This allows you to build your own application
-logic and use Embperl possibilites for rendering content.
+logic and use Embperl possibilities for rendering content.
 
 =back
 
@@ -748,7 +748,7 @@
 
 
 Set the secure flag of cookie that Embperl uses for the session id. If set the
-cookie will only be transfered over a secured connection.
+cookie will only be transferred over a secured connection.
 
 =head2 Embperl_Log
 
--- a/Embperl.pod
+++ b/Embperl.pod
@@ -1267,7 +1267,7 @@
 
 Another nice thing about recipes is that they are not static. A recipe
 is defined by a recipe object. When a request comes in, Embperl calls
-the get_recipe method of teh application object, which by default
+the get_recipe method of the application object, which by default
 calls the get_recipe of the named recipe object, which should return a array
 that describes what Embperl has to do. The get_recipe methods can of course
 build the array dynamically, looking, for example, at the request parameters

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h...@perl.apache.org

Reply via email to