diff options
-rw-r--r-- | lib/Locale/Constants.pm | 2 | ||||
-rw-r--r-- | lib/Locale/Country.pm | 10 | ||||
-rw-r--r-- | lib/Locale/Language.pm | 6 | ||||
-rw-r--r-- | lib/overload.pm | 10 | ||||
-rw-r--r-- | os2/OS2/ExtAttr/ExtAttr.pm | 2 | ||||
-rw-r--r-- | os2/OS2/Process/Process.pm | 29 |
6 files changed, 30 insertions, 29 deletions
diff --git a/lib/Locale/Constants.pm b/lib/Locale/Constants.pm index 957207ed90..cc11969c2c 100644 --- a/lib/Locale/Constants.pm +++ b/lib/Locale/Constants.pm @@ -31,7 +31,7 @@ Locale::Constants - constants for Locale codes =head1 SYNOPSIS use Locale::Constants; - + $codeset = LOCALE_CODE_ALPHA_2; =head1 DESCRIPTION diff --git a/lib/Locale/Country.pm b/lib/Locale/Country.pm index ea446ee5d9..f60b1352b2 100644 --- a/lib/Locale/Country.pm +++ b/lib/Locale/Country.pm @@ -7,13 +7,13 @@ Locale::Country - ISO codes for country identification (ISO 3166) =head1 SYNOPSIS use Locale::Country; - + $country = code2country('jp'); # $country gets 'Japan' $code = country2code('Norway'); # $code gets 'no' - + @codes = all_country_codes(); @names = all_country_names(); - + # add "uk" as a pseudo country code for United Kingdom Locale::Country::_alias_code('uk' => 'gb'); @@ -285,7 +285,7 @@ an ISO standard. If you would like 'uk' to work as the two-letter code for United Kingdom, use the following: use Locale::Country; - + Locale::Country::_alias_code('uk' => 'gb'); With this code, both "uk" and "gb" are valid codes for United Kingdom, @@ -325,7 +325,7 @@ The user is prompted for a country code, and then told the corresponding country name: $| = 1; # turn off buffering - + print "Enter country code: "; chop($code = <STDIN>); $country = code2country($code, LOCALE_CODE_ALPHA_2); diff --git a/lib/Locale/Language.pm b/lib/Locale/Language.pm index c561157deb..391cffab78 100644 --- a/lib/Locale/Language.pm +++ b/lib/Locale/Language.pm @@ -7,10 +7,10 @@ Locale::Language - ISO two letter codes for language identification (ISO 639) =head1 SYNOPSIS use Locale::Language; - + $lang = code2language('en'); # $lang gets 'English' $code = language2code('French'); # $code gets 'fr' - + @codes = all_language_codes(); @names = all_language_names(); @@ -173,7 +173,7 @@ The user is prompted for a language code, and then told the corresponding language name: $| = 1; # turn off buffering - + print "Enter language code: "; chop($code = <STDIN>); $lang = code2language($code); diff --git a/lib/overload.pm b/lib/overload.pm index d355f6aa85..21a4b671ff 100644 --- a/lib/overload.pm +++ b/lib/overload.pm @@ -267,7 +267,7 @@ is called with arguments C<($a,undef,'')> when $a++ is executed. Two types of mutators have different calling conventions: -=over 4 +=over =item C<++> and C<--> @@ -450,7 +450,7 @@ A computer-readable form of the above table is available in the hash Inheritance interacts with overloading in two ways. -=over 4 +=over =item Strings as values of C<use overload> directive @@ -1028,7 +1028,7 @@ reference to the intermediate array, which keeps a reference to an actual array, and the access hash. The tie()ing object for the access hash is a reference to a reference to the actual array, so -=over 4 +=over =item * @@ -1058,8 +1058,8 @@ Put this in F<symbolic.pm> in your Perl library directory: } This module is very unusual as overloaded modules go: it does not -provide any usual overloaded operators, instead it provides the -L<Last Resort> operator C<nomethod>. In this example the corresponding +provide any usual overloaded operators, instead it provides the L<Last +Resort> operator C<nomethod>. In this example the corresponding subroutine returns an object which encapsulates operations done over the objects: C<new symbolic 3> contains C<['n', 3]>, C<2 + new symbolic 3> contains C<['+', 2, ['n', 3]]>. diff --git a/os2/OS2/ExtAttr/ExtAttr.pm b/os2/OS2/ExtAttr/ExtAttr.pm index c8b462c70c..bebbcc963e 100644 --- a/os2/OS2/ExtAttr/ExtAttr.pm +++ b/os2/OS2/ExtAttr/ExtAttr.pm @@ -133,7 +133,7 @@ OS2::ExtAttr - Perl access to extended attributes. tie %ea, 'OS2::ExtAttr', 'my.file'; print $ea{eaname}; $ea{myfield} = 'value'; - + untie %ea; =head1 DESCRIPTION diff --git a/os2/OS2/Process/Process.pm b/os2/OS2/Process/Process.pm index 556732e155..88de2bfad5 100644 --- a/os2/OS2/Process/Process.pm +++ b/os2/OS2/Process/Process.pm @@ -128,14 +128,14 @@ C<file_type(file)>, get_title() and C<set_title(newtitle)> are implemented. my_type() returns the type of the current process (one of "FS", "DOS", "VIO", "PM", "DETACH" and "UNKNOWN"), or C<undef> on error. -=over 4 +=over =item C<file_type(file)> returns the type of the executable file C<file>, or dies on error. The bits 0-2 of the result contain one of the values -=over 4 +=over =item C<T_NOTSPEC> (0) @@ -158,7 +158,7 @@ Application type is window-API. The remaining bits should be masked with the following values to determine the type of the executable: -=over 4 +=over =item C<T_BOUND> (8) @@ -204,46 +204,46 @@ to suppress). returns a list of the following data: -=over 4 +=over -=item * +=item Title of the process (in the C<Ctrl-Esc> list); -=item * +=item window handle of switch entry of the process (in the C<Ctrl-Esc> list); -=item * +=item window handle of the icon of the process; -=item * +=item process handle of the owner of the entry in C<Ctrl-Esc> list; -=item * +=item process id of the owner of the entry in C<Ctrl-Esc> list; -=item * +=item session id of the owner of the entry in C<Ctrl-Esc> list; -=item * +=item whether visible in C<Ctrl-Esc> list; -=item * +=item whether item cannot be switched to (note that it is not actually grayed in the C<Ctrl-Esc> list)); -=item * +=item whether participates in jump sequence; -=item * +=item program type. Possible values are: @@ -263,6 +263,7 @@ is a windowed WIN-OS/2 program, it runs in a PROG_WINDOWEDVDM session. Likewise, if it's a full-screen WIN-OS/2 program, it runs in a PROG_VDM session. + =back =item C<set_title(newtitle)> |