1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858
|
Description: fix spelling mistakes
Author: Florian Schlichting <fsfs@debian.org>
--- a/Embperl/Mail.pm
+++ b/Embperl/Mail.pm
@@ -234,7 +234,7 @@
=item headerencoding (2.0b9+)
Tells Embperl::Mail which charset definition to include in any header
-that contains character code 128-255 and therfore needs encoding.
+that contains character code 128-255 and therefore needs encoding.
Defaults to iso-8859-1. Pass
empty string to turn encoding of header fields of.
--- a/Embperl/Object.pm
+++ b/Embperl/Object.pm
@@ -459,9 +459,9 @@
within the "rapid application development" model of Perl and HTML.
-I<Embperl::Object> is basicly a I<mod_perl> handler or could be invoked
+I<Embperl::Object> is basically a I<mod_perl> handler or could be invoked
offline and helps you to
-build a whole page out of smaller parts. Basicly it does the following:
+build a whole page out of smaller parts. Basically it does the following:
When a request comes in, a page, which name is specified by L<EMBPERL_OBJECT_BASE>, is
searched in the same directory as the requested page. If the pages isn't found,
@@ -499,9 +499,9 @@
The runtime configuration is done by setting environment variables,
in your web
-server's configuration file. Basicly the configuration is the same as
+server's configuration file. Basically the configuration is the same as
for normal Embperl. All Embperl configuration directives also applies
-to Embperl::Object. There are a few addtional configuration directives
+to Embperl::Object. There are a few additional configuration directives
listed below. Addtionaly you have to set the C<PerlHandler> to
C<Embperl::Object> when running under mod_perl or use C<epocgi.pl>
instead of C<embpcgi.pl> when running as CGI Script.
@@ -549,7 +549,7 @@
the application object. The must be no package name given (as the package is set
by Embperl::Object), but the @ISA should point to Embperl::App.
If set this file is searched through the same search path as any content file.
-After a successfull load the init method is called with the Embperl request object
+After a successful load the init method is called with the Embperl request object
as parameter. The init method can change the parameters inside the request object
to influence the current request.
--- a/Embperl/Session.pm
+++ b/Embperl/Session.pm
@@ -85,7 +85,7 @@
DataSource => 'dbi:Oracle:db'
};
-NOTE: HTML::Embperl::Session will require the nessecary additional perl modules for you.
+NOTE: HTML::Embperl::Session will require the necessary additional perl modules for you.
=head2 Addtional Methods
@@ -94,7 +94,7 @@
=item setid
-Set the session id for futher accesses.
+Set the session id for further accesses.
=item getid
--- a/Embperl/Syntax.pm
+++ b/Embperl/Syntax.pm
@@ -490,7 +490,7 @@
For example if you want to add new html tags, derive from I<Embperl::Syntax::HTML>,
if you want to add new metacommands derive from I<Embperl::Syntax::EmbperlBlocks>.
-Some of the classes define addtionaly methods to easily add new tags. See the
+Some of the classes define additional methods to easily add new tags. See the
respective pod file, which methods are available for a certain class.
I<Embperl::Syntax> defines the basic methods to create a syntax:
@@ -514,7 +514,7 @@
at the beginning of a document (C<$initcode>), at the end of the document
(C<$termcode>) or at compile time (C<$compiletimecode>). The three strings must
be valid Perl code. See I<Embperl::Syntax::SSI> for an example. C<$procinfo>
-is a hashref that can consits of addtional processor infos (see below) for the
+is a hashref that can consits of additional processor infos (see below) for the
document.
=head2 $self -> GetRoot
@@ -656,7 +656,7 @@
The processor info gives information how to compile this token to valid
code that can be executed later on by the processor. There could be
information for multiple processors. At the moment only the I<embperl>
-processor is defined. Normaly you must not worry about different
+processor is defined. Normally you must not worry about different
processor, because the syntax object knows inside that all procinfo is
for the I<embperl> processor. I<procinfo> is a parameter to many methods,
it is a hashref and can take the following items:
--- a/Embperl/Syntax/Embperl.pm
+++ b/Embperl/Syntax/Embperl.pm
@@ -65,7 +65,7 @@
=head1 DESCRIPTION
-This module provides the default syntax for Embperl and include all defintions
+This module provides the default syntax for Embperl and include all definitions
from EmbperlHTML and EmbperlBlocks.
=head1 Author
--- a/Embperl/Syntax/HTML.pm
+++ b/Embperl/Syntax/HTML.pm
@@ -464,7 +464,7 @@
=item $taginfo
-Addtional tag definitions. See I<Embperl::Syntax> for more infos.
+Additional tag definitions. See I<Embperl::Syntax> for more infos.
=item $addsess
--- a/Embperl/Syntax/POD.pm
+++ b/Embperl/Syntax/POD.pm
@@ -750,7 +750,7 @@
=head1 TODO
-Documenation of the resulting XML format still has to be written...
+Documentation of the resulting XML format still has to be written...
=head1 Methods
--- a/Intro.pod
+++ b/Intro.pod
@@ -37,28 +37,28 @@
Embperl has started as a Perl module for simply embedding Perl
into HTML and has grown to
a full featured system to build dynamic content (not only) under
-mod_perl. The version 1.x focus on HTML documents, also it could be
+mod_perl. The version 1.x focuses on HTML documents, also it could be
used for any sort of ascii files, and brings a lot of features
-especially useful in a web-environment. This features includes
+especially useful in a web-environment. These features include
handling of form data and dynamic HTML tables/lists, session management
-and context sensitv escaping and unescaping. More over you can
+and context sensitve escaping and unescaping. Moreover you can
break up your documents in small reusable components/objects and build
-a object-oriented website out of such objects, by using inheritence and
-specificly overriding parts of the page. Also Embperl can cope with pages
-that are screw up by high-level HTML editors, so your designer can still
-use there favorite tool.
+an object-oriented website out of such objects, by using inheritance and
+specifically overriding parts of the page. Also Embperl can cope with pages
+that are screwed up by high-level HTML editors, so your designer can still
+use their favorite tool.
Embperl 2.0, which is a complete rewrite of the Embperl core, is not
-even much faster then 1.x, but adds new possibilities. You can extent
+only much faster then 1.x, but adds new possibilities. You can extend
or define your own syntax, thus giving the chance to trigger actions
on certain tags or inventing your own tags (creating a taglib).
It is much more modularized, so specific steps could be replaced by
-custom processor and more then one processor can act on a document
-before it goes to the browser (just like a Unix pipe). To enhances
-performance 2.0 indrocuces caching of the output or intermediate steps.
+a custom processor and more than one processor can act on a document
+before it goes to the browser (just like a Unix pipe). To enhance
+performance 2.0 introduces caching of the output or intermediate steps.
-Due to this modularization, it is now possible, to replace Embperl parser
-by an XML parser and to do XML processing, for example by pluging in
+Due to this modularization, it is now possible to replace the Embperl parser
+by an XML parser and to do XML processing, for example by plugging in
an XSLT processer in the processing pipeline.
Embperl 2.0 can utilize libxml2 and libxslt for XML and XSLT processing.
@@ -85,19 +85,19 @@
So why to use Embperl? We believe that Embperl, especialy the
version 2.0, covers all of the aspects of these modules and integrates them
in one module with addtionaly benefits that are unique to Embperl.
-Addtionaly Embperl is the fastes of these solutions, because it's engine
+Additionally Embperl is the fastest of these solutions, because it's engine
is totaly written in C and is optimized for delivering dynamic content
online.
-A another competitor for Embperl is PHP.
+Another competitor for Embperl is PHP.
PHP is developing a strong user base, because it is rumored to be easy
to learn, and was designed specifically for HTML. Also PHP is probably one
of the strongest open source alternatives to using Perl in your
HTML, it's target is very webcentric and you may discover at a certain
-point that is has it's limitations when you try to realize great projects.
+point that is has its limitations when you try to realize great projects.
Also it's not true, like some anecdotal stories on the Web might want to make
-you belive, that PHP is faster then Perl. Perl,
-and therfore Embperl also, scales and performs very well for high end solution.
+you believe, that PHP is faster than Perl. Perl,
+and therefore Embperl also, scales and performs very well for high end solution.
=head2 Focus of this document
@@ -254,7 +254,7 @@
# prepare the sql select
$sth = $dbh -> prepare ("SELECT * from $table") ;
- # excute the query
+ # execute the query
$sth -> execute ;
# get the fieldnames for the heading in $head
@@ -517,7 +517,7 @@
=back
-Addtional you can write your own debug informtion to the Embperl
+Additionally you can write your own debug information to the Embperl
logfile by writing to the special filehandle C<LOG> which is
opend by Embperl.
@@ -535,7 +535,7 @@
# prepare the sql select
$sth = $dbh -> prepare ("SELECT * from $table") ;
- # excute the query
+ # execute the query
$sth -> execute ;
# get the fieldnames for the heading in $head
@@ -689,7 +689,7 @@
L<"perldoc IntroEmbperl2"|"IntroEmbperl2.pod"> describes the advanced
features of Embperl 2
-For a full documenation read L<"perldoc Embperl"|"Embperl.pod"> and
+For a full documentation read L<"perldoc Embperl"|"Embperl.pod"> and
L<"perldoc Config"|"Config.pod">.
You can find additional information on http://perl.apache.org/embperl
--- a/TOC.pod
+++ b/TOC.pod
@@ -1,6 +1,6 @@
=head1 NAME
-Embperl::TOC - Embperl Documenation: Table of Contents
+Embperl::TOC - Embperl Documentation: Table of Contents
=head1 DESCRIPTION
--- a/Config.pod
+++ b/Config.pod
@@ -381,7 +381,7 @@
=item Default:
-off unless runing as CGI script
+off unless running as CGI script
=item Since:
@@ -402,7 +402,7 @@
=item Default:
-off unless runing as CGI script
+off unless running as CGI script
=item Since:
@@ -434,7 +434,7 @@
=back
-Specifies the name for an application. The name is basicly used to refer to this application
+Specifies the name for an application. The name is basically used to refer to this application
elsewhere in httpd.conf without the need to setup the parameters for the apllication again.
@@ -1085,7 +1085,7 @@
=back
-Reset error counter if for <sec> seconds no error has occured.
+Reset error counter if for <sec> seconds no error has occurred.
=head2 Embperl_Mail_Errors_Resend_Time
@@ -1160,7 +1160,7 @@
the application object. There must be no package name given (as the package is set
by Embperl::Object) inside the file, but the @ISA should point to Embperl::App.
If set this file is searched through the same search path as any content file.
-After a successfull load the init method is called with the Embperl request object
+After a successful load the init method is called with the Embperl request object
as parameter. The init method can change the parameters inside the request object
to influence the current request.
@@ -1190,7 +1190,7 @@
Execute no path for the file is given.
-In F<httpd.conf> or as evironment variable directories are
+In F<httpd.conf> or as environment variable directories are
separated by C<;> (on Unix C<:> works also). The parameter for C<Execute> and
the application object method expects/returns an array reference.
This path is
@@ -1217,14 +1217,14 @@
-Additional directories where Embperl::Object searches for files for the inital request.
+Additional directories where Embperl::Object searches for files for the initial request.
If a file is requested, but cannot be found at the given location, the directories
given in the this path are additionally searched for the file. This applies only to
the initial filename given to Embperl::Object and B<not> to files called via
Execute.
-In F<httpd.conf> or as evironment variable directories are
+In F<httpd.conf> or as environment variable directories are
separated by C<;> (on Unix C<:> works also). The parameter for C<Execute> and
the application object method expects/returns an array reference.
@@ -1335,7 +1335,7 @@
=item Default:
-off unless runing as CGI script
+off unless running as CGI script
=item Since:
@@ -1356,7 +1356,7 @@
=item Default:
-off unless runing as CGI script
+off unless running as CGI script
=item Since:
@@ -1712,7 +1712,7 @@
=item Default:
-off unless runing as CGI script
+off unless running as CGI script
=item Since:
@@ -1733,7 +1733,7 @@
=item Default:
-off unless runing as CGI script
+off unless running as CGI script
=item Since:
@@ -1965,7 +1965,7 @@
escaping. Without it is possible to disable escaping by preceding the item that
normally is escaped with a backslash. While this is a handy thing, it could
be very dangerous in situations, where content that is inserted by some
-user is redisplayed, because they can enter arbitrary HTML and preceed them
+user is redisplayed, because they can enter arbitrary HTML and precede them
with a backslash to avoid correct escaping when their input is redisplayed
again.
@@ -2171,7 +2171,7 @@
Function that is called every time before data is taken from the cache.
-If this funtion returns true, the data from the cache isn't used anymore,
+If this function returns true, the data from the cache isn't used anymore,
but rebuilt.
Function could be either a coderef (when passed to Execute), a name of a
@@ -2559,7 +2559,7 @@
The primary langange found in the browser C<Accept-Language> HTTP header.
-This value is used for all language dependend functions inside Embperl.
+This value is used for all language-dependent functions inside Embperl.
You can set it change the selection of message returned by C<$request -> gettext>
and C<[= =]>.
@@ -2995,7 +2995,7 @@
Each of these objects can be used to get information about the processing and
control the execution. Each of these objects has a config sub-object, which makes
the configuration accessible and, where possible, changeable at runtime. The C<config>
-method of these three objects returns a reference to the configuation object. The methods
+method of these three objects returns a reference to the configuration object. The methods
of these configurations objects are described in the section L<Configuration>.
The request and the component object have addtionaly a parameter sub-object, which holds
parameters passed to the current request/component. The C<param> method of these two
@@ -3198,7 +3198,7 @@
=back
-Time when the last error has occured. See also L<mail_errors_to>.
+Time when the last error has occurred. See also L<mail_errors_to>.
=head2 errors_last_send_time
@@ -3510,7 +3510,7 @@
=back
-Reference to an array which holds all error messages occured so far.
+Reference to an array which holds all error messages occurred so far.
=head2 errdat1
@@ -3617,7 +3617,7 @@
=back
-Refernce to a hash which contains all packages that must be cleaned up after the request.
+Reference to a hash which contains all packages that must be cleaned up after the request.
=head2 initial_cwd
@@ -3670,7 +3670,7 @@
},
'en' =>
{
- 'addsel1' => 'Click on the category for wich you want to add a new item:',
+ 'addsel1' => 'Click on the category for which you want to add a new item:',
'addsel2' => 'or add new category. Please enter the description in as much languages as possible.',
'addsel3' => 'If you don\'t know the translation leave the corresponding input field empty.',
'addsel4' => 'Add category',
@@ -3968,7 +3968,7 @@
=back
-Only valid during compile phase. Can used to retrive and modify the code
+Only valid during compile phase. Can used to retrieve and modify the code
Embperl is generating. See Embperl::Syntax for more details and Embperl::Syntax::RTF
for an example.
--- a/Embperl.pod
+++ b/Embperl.pod
@@ -136,7 +136,7 @@
necessary. For example, if you want to recursively call an Embperl document via Execute.
There is a second reason to use the [* Perl code *] instead of the [- Perl Code -]. If you like
-to use perl's control structures. Perl's if, while, for etc. can B<not> span mulitple [- Perl Code -]
+to use perl's control structures. Perl's if, while, for etc. can B<not> span multiple [- Perl Code -]
blocks, but it can span multiple [* Perl Code *].
Example:
@@ -259,21 +259,21 @@
=item B<next>
Inside of looks same as Perl next statement. You could also use the following
-syntax, which allows you to add an addtional condition (or any other Perl code):
+syntax, which allows you to add an additional condition (or any other Perl code):
[* next if ($foo) *]
=item B<last>
Inside of looks same as Perl last statement. You could also use the following
-syntax, which allows you to add an addtional condition (or any other Perl code):
+syntax, which allows you to add an additional condition (or any other Perl code):
[* last if ($foo) *]
=item B<redo>
Inside of looks same as Perl redo statement. You could also use the following
-syntax, which allows you to add an addtional condition (or any other Perl code):
+syntax, which allows you to add an additional condition (or any other Perl code):
[* redo if ($foo) *]
@@ -424,7 +424,7 @@
=item pre
-Same as C<out>, but suround with a <pre> tag. This is the default, if
+Same as C<out>, but surrounded with a <pre> tag. This is the default, if
the output parameter is omitted.
=item log
@@ -828,10 +828,10 @@
Turn HTML and URL escaping on and off. The default is on ($escmode =
3).
-B<NOTE:> Normaly you can disable escaping by preceding the item that
+B<NOTE:> Normally you can disable escaping by preceding the item that
normally is escaped with a backslash. While this is a handy thing, it could
be very dangerous in situations, where content that is inserted by some
-user is redisplayed, because they can enter arbitrary HTML and preceed them
+user is redisplayed, because they can enter arbitrary HTML and precede them
with a backslash to avoid correct escaping when their input is redisplayed
again. To avoid this problem, add 4 to the values below. This will cause
Embperl to ignore the backslash when it does output escaping at all.
@@ -986,7 +986,7 @@
PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS "Embperl::Session"
to get the old behaviour. If you have Apache::SessionX installed, you
-don't have to make addtional configuration, otherwise you must do the following
+don't have to make additional configuration, otherwise you must do the following
things. You are also able to override the Apache::SessionX defaults, by
using the following parameters:
@@ -1127,7 +1127,7 @@
=head2 Embperl::Req::RefreshSession / $r -> RefreshSession [1.3b6+]
-Triggers a resend of the cookie. Normaly the cookie is only send the first time.
+Triggers a resend of the cookie. Normally the cookie is only sent the first time.
If called as a method C<$r> must be
a Embperl::Req object, which is passed as first parameter to every Embperl page in @_ .
@@ -1538,7 +1538,7 @@
-]
[$if @errors$]
- The following errors had occured:<br>
+ The following errors had occurred:<br>
[$foreach $err (@errors)$]
[+ $err +]<br>
[$endforeach$]
@@ -1549,7 +1549,7 @@
to C<die> instead of a string this will also show up in @errors. The last object
passed to C<die> is also available via C<$epreq -> errobj>.
-C<$epreq -> error> can be used to test if an error occured so far during the
+C<$epreq -> error> can be used to test if an error occurred so far during the
current request. You can also set C<$epreq -> error> to false to reset Embperl's
internal error condition.
@@ -1577,7 +1577,7 @@
as B<Return-Path>. Usually, this will be the field where the user enters his
e-mail address in the form.
-If you specifiy the following example code as the action in your form
+If you specify the following example code as the action in your form
<FORM ACTION="x/feedback.htm" METHOD="POST"
ENCTYPE="application/x-www-form-urlencoded">
@@ -1625,7 +1625,7 @@
=head1 Performance
-To get the best performace from Embperl, it is necessary to restrict
+To get the best performance from Embperl, it is necessary to restrict
logging to a minimum. You can drastically slow down Embperl if you
enable all logging options. (This is why `make test' takes a while to
run.) You should B<never> enable B<dbgFlushOutput> or B<dbgFlushLog>
--- a/Embperl/Form.pm
+++ b/Embperl/Form.pm
@@ -1314,21 +1314,21 @@
=item * classdiv
-Gives the CSS class of the DIV arround the form. Default cTableDiv.
+Gives the CSS class of the DIV around the form. Default cTableDiv.
=item * checkitems
-If set to true, allow to call the function diff_checkitems after the data is
+If set to true, allows one to call the function diff_checkitems after the data is
posted and see which form fields are changed.
=item * control_packages
-Arrayref with package names to search for form controls. Alternativly you can
+Arrayref with package names to search for form controls. Alternatively you can
overwrite the method get_control_packages.
=item * datasrc_packages
-Arrayref with package names to search for form data source modules. Alternativly you can
+Arrayref with package names to search for form data source modules. Alternatively you can
overwrite the method get_datasrc_packages.
--- a/Embperl/Form/Control.pm
+++ b/Embperl/Form/Control.pm
@@ -753,7 +753,7 @@
Will be used as label for the control, if not given
'name' is used as default.
-Normaly the the name and text parameters are processed
+Normally the the name and text parameters are processed
by the method C<convert_label> of the C<Embperl::Form>
object. This method can be overwritten, to allow translation etc.
--- a/Embperl/Form/Control/age.pm
+++ b/Embperl/Form/Control/age.pm
@@ -109,9 +109,9 @@
=head1 DESCRIPTION
-Used to create a age input control inside an Embperl Form.
+Used to create an age input control inside an Embperl Form.
Will format date as days:hours:minutes from current time.
-Optionaly it can display an unit after the input field.
+Optionally it can display an unit after the input field.
See Embperl::Form on how to specify parameters.
=head2 PARAMETER
--- a/Embperl/Form/Control/checkbox.pm
+++ b/Embperl/Form/Control/checkbox.pm
@@ -166,7 +166,7 @@
%%%name%%% is replaced by $fdat{<name>}, where <name> is the value that
is given with name parameter. Is is especially useful inside of grids
-where the actual name of the html control is computed dynamicly.
+where the actual name of the html control is computed dynamically.
=head3 class
--- a/Embperl/Form/Control/datetime.pm
+++ b/Embperl/Form/Control/datetime.pm
@@ -235,7 +235,7 @@
Will format number as a date/time.
See Embperl::Form on how to specify parameters.
-Datetime format in %fdat is excpected as YYYYMMTTHHMMSSZ
+Datetime format in %fdat is expected as YYYYMMTTHHMMSSZ
=head2 PARAMETER
--- a/Embperl/Form/Control/duration.pm
+++ b/Embperl/Form/Control/duration.pm
@@ -133,7 +133,7 @@
Used to create a price input control inside an Embperl Form.
Will format number as a money ammout.
-Optionaly it can display an unit after the input field.
+Optionally it can display an unit after the input field.
See Embperl::Form on how to specify parameters.
=head2 PARAMETER
--- a/Embperl/Form/Control/grid.pm
+++ b/Embperl/Form/Control/grid.pm
@@ -709,7 +709,7 @@
=head3 line2
-field defintion wich is show in a second line, full width.
+field definition which is show in a second line, full width.
=head3 disable_controls
@@ -737,10 +737,10 @@
=head3 flat
-This can be used for readonly view of grid. Normaly readonly view will show
-the content as one large string. The flat attribute can contain a semikolon
-delimited list of fields that should be show in readony view. That allows
-to selectivly show fields in readonly view.
+This can be used for readonly view of grid. Normally readonly view will show
+the content as one large string. The flat attribute can contain a semicolon
+delimited list of fields that should be shown in readony view. That allows
+to selectively show fields in readonly view.
This can be used to show a readonly view of a grid inside of another grid.
=head3 flatopt
--- a/Embperl/Form/Control/number.pm
+++ b/Embperl/Form/Control/number.pm
@@ -105,7 +105,7 @@
=head1 DESCRIPTION
Used to create a numeric input control inside an Embperl Form.
-Optionaly it can display an unit after the input field.
+Optionally it can display an unit after the input field.
See Embperl::Form on how to specify parameters.
=head2 PARAMETER
--- a/Embperl/Form/Control/price.pm
+++ b/Embperl/Form/Control/price.pm
@@ -153,7 +153,7 @@
Used to create a price input control inside an Embperl Form.
Will format number as a money ammout.
-Optionaly it can display an unit after the input field.
+Optionally it can display an unit after the input field.
See Embperl::Form on how to specify parameters.
=head2 PARAMETER
--- a/Embperl/Form/Control/table.pm
+++ b/Embperl/Form/Control/table.pm
@@ -263,7 +263,7 @@
email and phone will be display on the first line with headings
'E-Mail Address' and 'Phone' and foo and bar will be displayed
on the second line for each entry.
-In case your data is an array of arrays you have to specifiy the
+In case your data is an array of arrays you have to specify the
array index instead of the hash key name.
It is possible to add additional information. One entry might
@@ -281,7 +281,7 @@
=item C<2>
-Colspan (how many colums this cell should span)
+Colspan (how many columns this cell should span)
=item C<3>
--- a/Embperl/Form/DataSource.pm
+++ b/Embperl/Form/DataSource.pm
@@ -182,8 +182,8 @@
=head3 get_id_from_value
-returns an id for a given value. This allow to have an id form an value/option
-pair which is not excat the same as the value. This is used in json requests
+returns an id for a given value. This allows one to have an id form a value/option
+pair which is not exactly the same as the value. This is used in json requests
for example for selectdyn control.
=head3 get_datasource_controls
--- a/Embperl/Form/Validate.pm
+++ b/Embperl/Form/Validate.pm
@@ -182,7 +182,7 @@
=item $pref
-can contain addtional information for the validation process.
+can contain additional information for the validation process.
At the moment the keys C<language> and C<default_language>
are recognized. C<language> defaults to the language set by
Embperl. C<default_language> defaults to the one given with C<new>.
@@ -192,7 +192,7 @@
The method verifies the content $fdat according to the rules given
to the Embperl::Form::Validate
constructor and added by the add_rule() method and returns an
-array refernce to error information. If there is no error it
+array reference to error information. If there is no error it
returns undef. Each element of the returned array contains a hash with
the following keys:
@@ -769,7 +769,7 @@
gives the key in the passed form data hash which should be tested. -key
is normally the name given in the HTML name attribute within a form field.
C<-key> can also be a arrayref, in which case B<only one of> the given keys
-must statisfy the following test to succeed.
+must satisfy the following test to succeed.
=item -name
@@ -781,10 +781,10 @@
=item -type
specfify to not use the standard tests, but the ones for a special type.
-For example there is a type C<Number> which will replaces all the comparsions
-by numeric ones instead of string comparisions. You may add your own types
+For example there is a type C<Number> which will replace all the comparisons
+by numeric ones instead of string comparisons. You may add your own types
by writing a module that contains the necessary test and dropping it under
-Embperl::Form::Validate::<Typename>. The -type directive also can verfiy
+Embperl::Form::Validate::<Typename>. The -type directive also can verify
that the given data has a valid format for the type.
The following types are available:
@@ -857,14 +857,14 @@
Used to give messages which should be used when the test fails. This message
overrides the standard messages provided by Embperl::Form::Validate and
-by Embperls message management. Can also be a hash with messages for multiple
-languages. The -msg parameter must preceed the test for which it should be
+by Embperl's message management. Can also be a hash with messages for multiple
+languages. The -msg parameter must precede the test for which it should be
displayed. You can have multiple different messages for different tests, e.g.
[
-key => 'email',
-name => 'E-Mail-Address',
- emptyok => 1, # it's ok to leave this field empty (in this case the following tests are skiped)
+ emptyok => 1, # it's ok to leave this field empty (in this case the following tests are skipped)
-msg => 'The E-Mail-Address is invalid.',
matches_regex => '(^[^ <>()@-]+@[^ <>()@-]+\.[a-zA-Z]{2,3}$)',
@@ -928,8 +928,8 @@
Value must be the same as in field given as argument. This is useful
if you want for example verify that two passwords are the same. The
-Text displayed to the user for the second field maybe added to the argument
-separeted by a colon. Example:
+Text displayed to the user for the second field may be added to the argument
+separated by a colon. Example:
$epf = Embperl::Form::Validate -> new (
[
--- a/Faq.pod
+++ b/Faq.pod
@@ -254,7 +254,7 @@
bt -> show the backtrace
To get some more information it would be a good idea to compile Embperl with
-debugging infomation enabled. Therefor do
+debugging information enabled. Therefore do
=head2 How do I build Embperl with debugging information
@@ -270,7 +270,7 @@
=back
-now start the gdb as decribed before.
+now start the gdb as described before.
@@ -352,8 +352,8 @@
The problem (in this case) is, that Embperl init function ,(Init in epmain.c)
calls OpenLog will an second argument of zero. Which will only save the
filename. The log will actually opened on the first write to it (or at the
-start of the first request). At this time your Apache has alreay switch to
-user www. This is done to allow to change the logfile name before an
+start of the first request). At this time your Apache has already switch to
+user www. This is done to allow one to change the logfile name before a
request, but after the init is already called (which is done when you or
Apache "use" the module)
@@ -492,7 +492,7 @@
L<"Escaping & Unescaping"> is devoted to them.
-=head2 When I use a module inside a Embperl page, it behaves weired
+=head2 When I use a module inside an Embperl page, it behaves weird
when the source changes.
@@ -1078,7 +1078,7 @@
[- $var = 1; <br>
$foo = 2 -]
-permissable, so that you can enter Perl code while you mark up pages in an
+permissible, so that you can enter Perl code while you mark up pages in an
editor, all at once. In this example, Embperl would remove the
unnecessary <br> tag and, therefore, make Perl happy. And if Perl is
happy, we are all happy.
--- a/Features.pod
+++ b/Features.pod
@@ -91,7 +91,7 @@
=item *
-Fully integrated into Apache and mod_perl to acheive the best performance.
+Fully integrated into Apache and mod_perl to achieve the best performance.
Can also run as a free standing CGI-script, off-line or can be called from another Perl program.
--- a/epmain.c
+++ b/epmain.c
@@ -127,7 +127,7 @@
case rcWriteErr: msg ="[%d]ERR: %d: %s File write Error%s%s" ; break ;
case rcUnknownNameSpace: msg ="[%d]ERR: %d: %s Namespace %s unknown%s" ; break ;
case rcInputNotSupported: msg ="[%d]ERR: %d: %s Input not supported in mod_perl mode%s%s" ; break ;
- case rcCannotUsedRecursive: msg ="[%d]ERR: %d: %s Cannot be called recursivly in mod_perl mode%s%s" ; break ;
+ case rcCannotUsedRecursive: msg ="[%d]ERR: %d: %s Cannot be called recursively in mod_perl mode%s%s" ; break ;
case rcEndtableWithoutTablerow: msg ="[%d]ERR: %d: %s </tr> without <tr>%s%s" ; break ;
case rcEndtextareaWithoutTextarea: msg ="[%d]ERR: %d: %s </textarea> without <textarea>%s%s" ; break ;
case rcEvalErr: msg ="[%d]ERR: %d: %s Error in Perl code: %s%s" ; break ;
|