X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltoc.pod;h=cd9046c3e56ad357599000fde9bb08f44e14f26b;hb=6e5a998b1cc5eddc2fb262c2e2e7f989bfb76f23;hp=2fe1c39c5051ffb1fc59ff27568d0ff4794d863d;hpb=e993db8c8c835835cc2f28cb584889f589bbf9d6;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltoc.pod b/pod/perltoc.pod index 2fe1c39..cd9046c 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -29,6 +29,8 @@ through to locate the proper section you're looking for. =item Miscellaneous +=item Language-Specific + =item Platform-Specific =back @@ -447,14 +449,14 @@ SOCKET,MSG,FLAGS,TO, send SOCKET,MSG,FLAGS, setpgrp PID,PGRP, setpriority WHICH,WHO,PRIORITY, setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL, shift ARRAY, shift, shmctl ID,CMD,ARG, shmget KEY,SIZE,FLAGS, shmread ID,VAR,POS,SIZE, shmwrite ID,STRING,POS,SIZE, shutdown SOCKET,HOW, sin EXPR, sin, sleep -EXPR, sleep, sockatmark SOCKET, socket SOCKET,DOMAIN,TYPE,PROTOCOL, -socketpair SOCKET1,SOCKET2,DOMAIN,TYPE,PROTOCOL, sort SUBNAME LIST, sort -BLOCK LIST, sort LIST, splice ARRAY,OFFSET,LENGTH,LIST, splice -ARRAY,OFFSET,LENGTH, splice ARRAY,OFFSET, splice ARRAY, split -/PATTERN/,EXPR,LIMIT, split /PATTERN/,EXPR, split /PATTERN/, split, sprintf -FORMAT, LIST, sqrt EXPR, sqrt, srand EXPR, srand, stat FILEHANDLE, stat -EXPR, stat, study SCALAR, study, sub BLOCK, sub NAME, sub NAME BLOCK, -substr EXPR,OFFSET,LENGTH,REPLACEMENT, substr EXPR,OFFSET,LENGTH, substr +EXPR, sleep, socket SOCKET,DOMAIN,TYPE,PROTOCOL, socketpair +SOCKET1,SOCKET2,DOMAIN,TYPE,PROTOCOL, sort SUBNAME LIST, sort BLOCK LIST, +sort LIST, splice ARRAY,OFFSET,LENGTH,LIST, splice ARRAY,OFFSET,LENGTH, +splice ARRAY,OFFSET, splice ARRAY, split /PATTERN/,EXPR,LIMIT, split +/PATTERN/,EXPR, split /PATTERN/, split, sprintf FORMAT, LIST, sqrt EXPR, +sqrt, srand EXPR, srand, stat FILEHANDLE, stat EXPR, stat, study SCALAR, +study, sub BLOCK, sub NAME, sub NAME BLOCK, substr +EXPR,OFFSET,LENGTH,REPLACEMENT, substr EXPR,OFFSET,LENGTH, substr EXPR,OFFSET, symlink OLDFILE,NEWFILE, syscall LIST, sysopen FILEHANDLE,FILENAME,MODE, sysopen FILEHANDLE,FILENAME,MODE,PERMS, sysread FILEHANDLE,SCALAR,LENGTH,OFFSET, sysread FILEHANDLE,SCALAR,LENGTH, sysseek @@ -850,10 +852,11 @@ B<-X>, B<-x> I =item ENVIRONMENT -HOME, LOGDIR, PATH, PERL5LIB, PERL5OPT, PERLLIB, PERL5DB, PERL5SHELL -(specific to the Win32 port), PERL_DEBUG_MSTATS, PERL_DESTRUCT_LEVEL, -PERL_ENCODING, PERL_ROOT (specific to the VMS port), SYS$LOGIN (specific to -the VMS port) +HOME, LOGDIR, PATH, PERL5LIB, PERL5OPT, PERLIO, :bytes, :crlf, :mmap, +:perlio, :raw, :stdio, :unix, :utf8, :win32, PERLIO_DEBUG, PERLLIB, +PERL5DB, PERL5SHELL (specific to the Win32 port), PERL_DEBUG_MSTATS, +PERL_DESTRUCT_LEVEL, PERL_ENCODING, PERL_ROOT (specific to the VMS port), +SYS$LOGIN (specific to the VMS port) =back @@ -1851,6 +1854,112 @@ string =item DESCRIPTION +=item Status + +=item What Is A Thread Anyway? + +=item Threaded Program Models + +=over 4 + +=item Boss/Worker + +=item Work Crew + +=item Pipeline + +=back + +=item Native threads + +=item What kind of threads are Perl threads? + +=item Threadsafe Modules + +=item Thread Basics + +=over 4 + +=item Basic Thread Support + +=item Creating Threads + +=item Giving up control + +=item Waiting For A Thread To Exit + +=item Ignoring A Thread + +=back + +=item Threads And Data + +=over 4 + +=item Shared And Unshared Data + +=item Thread Pitfalls: Races + +=back + +=item Synchronization and control + +=over 4 + +=item Controlling access: lock() + +=item A Thread Pitfall: Deadlocks + +=item Queues: Passing Data Around + +=item Semaphores: Synchronizing Data Access + +=item Basic semaphores + +=item Advanced Semaphores + +=item cond_wait() and cond_signal() + +=back + +=item General Thread Utility Routines + +=over 4 + +=item What Thread Am I In? + +=item Thread IDs + +=item Are These Threads The Same? + +=item What Threads Are Running? + +=back + +=item A Complete Example + +=item Performance considerations + +=item Conclusion + +=item Bibliography + +=over 4 + +=item Introductory Texts + +=item OS-Related References + +=item Other References + +=back + +=item Acknowledgements + +=item AUTHOR + +=item Copyrights + =back =head2 perlothrtut - old tutorial on threads in Perl @@ -2051,16 +2160,15 @@ FILEHANDLE,OPERATION, fork, getlogin, getpgrp PID, getppid, getpriority WHICH,WHO, getpwnam NAME, getgrnam NAME, getnetbyname NAME, getpwuid UID, getgrgid GID, getnetbyaddr ADDR,ADDRTYPE, getprotobynumber NUMBER, getservbyport PORT,PROTO, getpwent, getgrent, gethostent, getnetent, -getprotoent, getservent, setpwent, setgrent, sethostent STAYOPEN, setnetent -STAYOPEN, setprotoent STAYOPEN, setservent STAYOPEN, endpwent, endgrent, -endhostent, endnetent, endprotoent, endservent, getsockopt -SOCKET,LEVEL,OPTNAME, glob EXPR, glob, ioctl FILEHANDLE,FUNCTION,SCALAR, -kill SIGNAL, LIST, link OLDFILE,NEWFILE, lstat FILEHANDLE, lstat EXPR, -lstat, msgctl ID,CMD,ARG, msgget KEY,FLAGS, msgsnd ID,MSG,FLAGS, msgrcv -ID,VAR,SIZE,TYPE,FLAGS, open FILEHANDLE,EXPR, open FILEHANDLE, pipe -READHANDLE,WRITEHANDLE, readlink EXPR, readlink, select -RBITS,WBITS,EBITS,TIMEOUT, semctl ID,SEMNUM,CMD,ARG, semget -KEY,NSEMS,FLAGS, semop KEY,OPSTRING, setgrent, setpgrp PID,PGRP, +getprotoent, getservent, sethostent STAYOPEN, setnetent STAYOPEN, +setprotoent STAYOPEN, setservent STAYOPEN, endpwent, endgrent, endhostent, +endnetent, endprotoent, endservent, getsockopt SOCKET,LEVEL,OPTNAME, glob +EXPR, glob, ioctl FILEHANDLE,FUNCTION,SCALAR, kill SIGNAL, LIST, link +OLDFILE,NEWFILE, lstat FILEHANDLE, lstat EXPR, lstat, msgctl ID,CMD,ARG, +msgget KEY,FLAGS, msgsnd ID,MSG,FLAGS, msgrcv ID,VAR,SIZE,TYPE,FLAGS, open +FILEHANDLE,EXPR, open FILEHANDLE, pipe READHANDLE,WRITEHANDLE, readlink +EXPR, readlink, select RBITS,WBITS,EBITS,TIMEOUT, semctl ID,SEMNUM,CMD,ARG, +semget KEY,NSEMS,FLAGS, semop KEY,OPSTRING, setgrent, setpgrp PID,PGRP, setpriority WHICH,WHO,PRIORITY, setpwent, setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL, shmctl ID,CMD,ARG, shmget KEY,SIZE,FLAGS, shmread ID,VAR,POS,SIZE, shmwrite ID,STRING,POS,SIZE, sockatmark SOCKET, @@ -2258,13 +2366,15 @@ to enable UTF-8/UTF-EBCDIC in scripts =item Blocks +=item User-defined Character Properties + =item Character encodings for input and output =item Unicode Regular Expression Support Level =item Unicode Encodings -=item Security Implications of Malformed UTF-8 +=item Security Implications of Unicode =item Unicode in Perl on EBCDIC @@ -2276,6 +2386,16 @@ to enable UTF-8/UTF-EBCDIC in scripts =item BUGS +=over 4 + +=item Interaction with locales + +=item Interaction with extensions + +=item speed + +=back + =item SEE ALSO =back @@ -2426,6 +2546,8 @@ chcp, dataset access, OS/390, z/OS iconv, locales =item Protecting Your Programs +=item Unicode + =back =item SEE ALSO @@ -2495,45 +2617,51 @@ module (sometimes unnecessary), B the module =item Pragmatic Modules -attributes, autouse, base, bigint, bignum, bigrat, blib, bytes, charnames, -constant, diagnostics, encoding, fields, filetest, if, integer, less, -locale, open, overload, re, sigtrap, sort, strict, subs, utf8, vars, -vmsish, warnings, warnings::register +attributes, attrs, autouse, base, bigint, bignum, bigrat, blib, bytes, +charnames, constant, diagnostics, encoding, fields, filetest, if, integer, +less, locale, open, ops, overload, re, sigtrap, sort, strict, subs, +threads, utf8, vars, vmsish, warnings, warnings::register =item Standard Modules -AnyDBM_File, Attribute::Handlers, AutoLoader, AutoSplit, Benchmark, CGI, -CGI::Apache, CGI::Carp, CGI::Cookie, CGI::Fast, CGI::Pretty, CGI::Push, -CGI::Switch, CGI::Util, CPAN, CPAN::FirstTime, CPAN::Nox, Carp, -Carp::Heavy, Class::ISA, Class::Struct, Cwd, DB, Devel::SelfStubber, -Digest, DirHandle, Dumpvalue, English, Env, Exporter, Exporter::Heavy, -ExtUtils::Command, ExtUtils::Constant, ExtUtils::Embed, ExtUtils::Install, -ExtUtils::Installed, ExtUtils::Liblist, ExtUtils::MM_BeOS, -ExtUtils::MM_Cygwin, ExtUtils::MM_NW5, ExtUtils::MM_OS2, ExtUtils::MM_Unix, -ExtUtils::MM_VMS, ExtUtils::MM_Win32, ExtUtils::MakeMaker, -ExtUtils::Manifest, ExtUtils::Mkbootstrap, ExtUtils::Mksymlists, -ExtUtils::Packlist, ExtUtils::testlib, Fatal, File::Basename, -File::CheckTree, File::Compare, File::Copy, File::DosGlob, File::Find, -File::Path, File::Spec, File::Spec::Cygwin, File::Spec::Epoc, -File::Spec::Functions, File::Spec::Mac, File::Spec::OS2, File::Spec::Unix, -File::Spec::VMS, File::Spec::Win32, File::Temp, File::stat, FileCache, -FileHandle, Filter::Simple, FindBin, Getopt::Long, Getopt::Std, Hash::Util, -I18N::Collate, I18N::LangTags, I18N::LangTags::List, IPC::Open2, +AnyDBM_File, Attribute::Handlers, AutoLoader, AutoSplit, B, B::Asmdata, +B::Assembler, B::Bblock, B::Bytecode, B::C, B::CC, B::Concise, B::Debug, +B::Deparse, B::Disassembler, B::Lint, B::Showlex, B::Stackobj, B::Stash, +B::Terse, B::Xref, Benchmark, ByteLoader, CGI, CGI::Apache, CGI::Carp, +CGI::Cookie, CGI::Fast, CGI::Pretty, CGI::Push, CGI::Switch, CGI::Util, +CPAN, CPAN::FirstTime, CPAN::Nox, Carp, Carp::Heavy, Class::ISA, +Class::Struct, Cwd, DB, DB_File, Devel::SelfStubber, Digest, DirHandle, +Dumpvalue, Encode, English, Env, Exporter, Exporter::Heavy, +ExtUtils::Command, ExtUtils::Command::MM, ExtUtils::Constant, +ExtUtils::Embed, ExtUtils::Install, ExtUtils::Installed, ExtUtils::Liblist, +ExtUtils::MM, ExtUtils::MM_Any, ExtUtils::MM_BeOS, ExtUtils::MM_Cygwin, +ExtUtils::MM_DOS, ExtUtils::MM_MacOS, ExtUtils::MM_NW5, ExtUtils::MM_OS2, +ExtUtils::MM_UWIN, ExtUtils::MM_Unix, ExtUtils::MM_VMS, ExtUtils::MM_Win32, +ExtUtils::MM_Win95, ExtUtils::MY, ExtUtils::MakeMaker, ExtUtils::Manifest, +ExtUtils::Mkbootstrap, ExtUtils::Mksymlists, ExtUtils::Packlist, +ExtUtils::testlib, Fatal, Fcntl, File::Basename, File::CheckTree, +File::Compare, File::Copy, File::DosGlob, File::Find, File::Path, +File::Spec, File::Spec::Cygwin, File::Spec::Epoc, File::Spec::Functions, +File::Spec::Mac, File::Spec::OS2, File::Spec::Unix, File::Spec::VMS, +File::Spec::Win32, File::Temp, File::stat, FileCache, FileHandle, +Filter::Simple, FindBin, Getopt::Long, Getopt::Std, Hash::Util, +I18N::Collate, I18N::LangTags, I18N::LangTags::List, IO, IPC::Open2, IPC::Open3, Locale::Constants, Locale::Country, Locale::Currency, Locale::Language, Locale::Maketext, Locale::Maketext::TPJ13, Locale::Script, Math::BigFloat, Math::BigInt, Math::BigInt::Calc, Math::BigRat, Math::Complex, Math::Trig, Memoize, Memoize::AnyDBM_File, Memoize::Expire, Memoize::ExpireFile, Memoize::ExpireTest, -Memoize::NDBM_File, Memoize::SDBM_File, Memoize::Storable, NEXT, Net::Cmd, -Net::Config, Net::Domain, Net::FTP, Net::NNTP, Net::Netrc, Net::POP3, -Net::Ping, Net::SMTP, Net::Time, Net::hostent, Net::libnetFAQ, Net::netent, -Net::protoent, Net::servent, PerlIO, Pod::Checker, Pod::Find, -Pod::Functions, Pod::Html, Pod::InputObjects, Pod::LaTeX, Pod::Man, -Pod::ParseLink, Pod::ParseUtils, Pod::Parser, Pod::Plainer, Pod::Select, -Pod::Text, Pod::Text::Color, Pod::Text::Overstrike, Pod::Text::Termcap, -Pod::Usage, Pod::t::basic, Search::Dict, SelectSaver, SelfLoader, Shell, -Switch, Symbol, Term::ANSIColor, Term::Cap, Term::Complete, Term::ReadLine, -Test, Test::Builder, Test::Harness, Test::Harness::Assert, +Memoize::NDBM_File, Memoize::SDBM_File, Memoize::Storable, NDBM_File, NEXT, +Net::Cmd, Net::Config, Net::Domain, Net::FTP, Net::NNTP, Net::Netrc, +Net::POP3, Net::Ping, Net::SMTP, Net::Time, Net::hostent, Net::libnetFAQ, +Net::netent, Net::protoent, Net::servent, O, ODBM_File, Opcode, POSIX, +PerlIO, Pod::Checker, Pod::Find, Pod::Functions, Pod::Html, +Pod::InputObjects, Pod::LaTeX, Pod::Man, Pod::ParseLink, Pod::ParseUtils, +Pod::Parser, Pod::Plainer, Pod::Select, Pod::Text, Pod::Text::Color, +Pod::Text::Overstrike, Pod::Text::Termcap, Pod::Usage, Pod::t::basic, +SDBM_File, Safe, Search::Dict, SelectSaver, SelfLoader, Shell, Socket, +Storable, Switch, Symbol, Term::ANSIColor, Term::Cap, Term::Complete, +Term::ReadLine, Test, Test::Builder, Test::Harness, Test::Harness::Assert, Test::Harness::Iterator, Test::Harness::Straps, Test::More, Test::Simple, Test::Tutorial, Text::Abbrev, Text::Balanced, Text::ParseWords, Text::Soundex, Text::Tabs, Text::Wrap, Thread, Tie::Array, Tie::File, @@ -2717,8 +2845,8 @@ tarball, Announce to the modules list, Announce to clpa, Fix bugs! =back -=head2 perlfaq1 - General Questions About Perl ($Revision: 1.7 $, $Date: -2002/02/21 14:49:15 $) +=head2 perlfaq1 - General Questions About Perl ($Revision: 1.8 $, $Date: +2002/04/07 18:46:13 $) =over 4 @@ -2764,8 +2892,8 @@ Scheme, or Tcl? =back -=head2 perlfaq2 - Obtaining and Learning about Perl ($Revision: 1.9 $, -$Date: 2002/03/09 21:01:13 $) +=head2 perlfaq2 - Obtaining and Learning about Perl ($Revision: 1.13 $, +$Date: 2002/04/26 16:56:35 $) =over 4 @@ -2820,8 +2948,8 @@ References, Tutorials, Task-Oriented, Special Topics =back -=head2 perlfaq3 - Programming Tools ($Revision: 1.15 $, $Date: 2002/02/11 -19:29:52 $) +=head2 perlfaq3 - Programming Tools ($Revision: 1.22 $, $Date: 2002/05/06 +13:11:13 $) =over 4 @@ -2847,7 +2975,7 @@ References, Tutorials, Task-Oriented, Special Topics =item Is there an IDE or Windows Perl Editor? -Komodo, The Object System, Open Perl IDE, PerlBuilder, visiPerl+, +Komodo, The Object System, Open Perl IDE, PerlBuilder, visiPerl+, OptiPerl, CodeMagicCD, GNU Emacs, MicroEMACS, XEmacs, Elvis, Vile, Vim, Codewright, MultiEdit, SlickEdit, Bash, Ksh, Tcsh, Zsh, BBEdit and BBEdit Lite, Alpha @@ -2905,8 +3033,8 @@ my C program; what am I doing wrong? =back -=head2 perlfaq4 - Data Manipulation ($Revision: 1.19 $, $Date: 2002/03/11 -22:15:19 $) +=head2 perlfaq4 - Data Manipulation ($Revision: 1.21 $, $Date: 2002/05/06 +13:08:46 $) =over 4 @@ -2926,7 +3054,7 @@ Trig functions? =item How do I convert between numeric representations? -B, B, B, B, B, B, B @@ -3122,8 +3250,8 @@ array of hashes or arrays? =back -=head2 perlfaq5 - Files and Formats ($Revision: 1.12 $, $Date: 2002/03/11 -22:25:25 $) +=head2 perlfaq5 - Files and Formats ($Revision: 1.15 $, $Date: 2002/04/12 +02:02:05 $) =over 4 @@ -3215,8 +3343,8 @@ protected files? Isn't this a bug in Perl? =back -=head2 perlfaq6 - Regular Expressions ($Revision: 1.8 $, $Date: 2002/01/31 -04:27:55 $) +=head2 perlfaq6 - Regular Expressions ($Revision: 1.10 $, $Date: 2002/04/07 +18:32:57 $) =over 4 @@ -3282,8 +3410,8 @@ file? =back -=head2 perlfaq7 - General Perl Language Issues ($Revision: 1.7 $, $Date: -2002/01/31 04:27:55 $) +=head2 perlfaq7 - General Perl Language Issues ($Revision: 1.8 $, $Date: +2002/03/26 15:48:32 $) =over 4 @@ -3361,8 +3489,8 @@ is in scope? =back -=head2 perlfaq8 - System Interaction ($Revision: 1.6 $, $Date: 2002/01/28 -04:17:27 $) +=head2 perlfaq8 - System Interaction ($Revision: 1.7 $, $Date: 2002/04/18 +14:23:15 $) =over 4 @@ -3489,7 +3617,7 @@ search path? =back -=head2 perlfaq9 - Networking ($Revision: 1.7 $, $Date: 2002/01/28 04:17:27 +=head2 perlfaq9 - Networking ($Revision: 1.9 $, $Date: 2002/04/07 18:46:13 $) =over 4 @@ -3784,7 +3912,7 @@ C, C, C =item EXAMPLE 8 (Coming Soon) -=item EXAMPLE 9 (Coming Soon) +=item EXAMPLE 9 Passing open files to XSes =item Troubleshooting these Examples @@ -3974,6 +4102,8 @@ C, C

, C, C =item Creating New Variables +GV_ADDMULTI, GV_ADDWARN + =item Reference Counts and Mortality =item Stashes and Globs @@ -4342,8 +4472,8 @@ HEf_SVKEY, Nullch, Nullsv get_hv, HeHASH, HeKEY, HeKLEN, HePV, HeSVKEY, HeSVKEY_force, HeSVKEY_set, HeVAL, HvNAME, hv_clear, hv_delete, hv_delete_ent, hv_exists, hv_exists_ent, hv_fetch, hv_fetch_ent, hv_iterinit, hv_iterkey, -hv_iterkeysv, hv_iternext, hv_iternextsv, hv_iterval, hv_magic, hv_store, -hv_store_ent, hv_undef, newHV, Nullhv +hv_iterkeysv, hv_iternext, hv_iternextsv, hv_iternext_flags, hv_iterval, +hv_magic, hv_store, hv_store_ent, hv_undef, newHV, Nullhv =item Magical Functions @@ -4410,13 +4540,13 @@ sv_nounlocking, sv_nv, sv_pos_b2u, sv_pos_u2b, sv_pv, sv_pvbyte, sv_pvbyten, sv_pvbyten_force, sv_pvn, sv_pvn_force, sv_pvn_force_flags, sv_pvutf8, sv_pvutf8n, sv_pvutf8n_force, sv_reftype, sv_replace, sv_report_used, sv_reset, sv_rvweaken, sv_setiv, sv_setiv_mg, sv_setnv, -sv_setnv_mg, sv_setpv, sv_setpvf, sv_setpvf_mg, sv_setpviv, sv_setpviv_mg, -sv_setpvn, sv_setpvn_mg, sv_setpv_mg, sv_setref_iv, sv_setref_nv, -sv_setref_pv, sv_setref_pvn, sv_setref_uv, sv_setsv, sv_setsv_flags, -sv_setsv_mg, sv_setuv, sv_setuv_mg, sv_taint, sv_tainted, sv_true, -sv_unmagic, sv_unref, sv_unref_flags, sv_untaint, sv_upgrade, sv_usepvn, -sv_usepvn_mg, sv_utf8_decode, sv_utf8_downgrade, sv_utf8_encode, -sv_utf8_upgrade, sv_utf8_upgrade_flags, sv_uv, sv_vcatpvfn, sv_vsetpvfn +sv_setnv_mg, sv_setpv, sv_setpvf, sv_setpvf_mg, sv_setpvn, sv_setpvn_mg, +sv_setpv_mg, sv_setref_iv, sv_setref_nv, sv_setref_pv, sv_setref_pvn, +sv_setref_uv, sv_setsv, sv_setsv_flags, sv_setsv_mg, sv_setuv, sv_setuv_mg, +sv_taint, sv_tainted, sv_true, sv_unmagic, sv_unref, sv_unref_flags, +sv_untaint, sv_upgrade, sv_usepvn, sv_usepvn_mg, sv_utf8_decode, +sv_utf8_downgrade, sv_utf8_encode, sv_utf8_upgrade, sv_utf8_upgrade_flags, +sv_uv, sv_vcatpvfn, sv_vsetpvfn =item Unicode Support @@ -4521,7 +4651,7 @@ Setlinebuf, Get_base, Get_bufsiz, Get_ptr, Get_cnt, Set_ptrcnt =item Extension Layers -":encoding", ":Scalar", ":Object" or ":Perl" +":encoding", ":Scalar", ":Via" =back @@ -4554,7 +4684,7 @@ B, B, B =item Co-existence with stdio B, B, -B, B +B, B =item "Fast gets" Functions @@ -4756,6 +4886,10 @@ PerlIO_apply_layers(f,mode,layers), PerlIO_binmode(f,ptype,imode,layers), =item Allow restricted hash assignment +=item Should overload be inheritable? + +=item Taint rethink + =back =item Vague ideas @@ -4798,6 +4932,12 @@ PerlIO_apply_layers(f,mode,layers), PerlIO_binmode(f,ptype,imode,layers), =item Update auxiliary tools +=item Create debugging macros + +=item truncate to the people + +=item Unicode in Filenames + =back =item Recently done things @@ -4918,10 +5058,6 @@ PerlIO_apply_layers(f,mode,layers), PerlIO_binmode(f,ptype,imode,layers), =item Unicode collation and normalization -=item Create debugging macros - -=item truncate to the people - =item pack/unpack tutorial =back @@ -5006,6 +5142,11 @@ finish, 'enter', print F, F, F, F, F, F, F, F, t/base t/comp, t/cmd t/run t/io t/op, t/lib ext lib +=item Special Make Test Targets + +coretest, test.deparse, minitest, test.third check.third utest.third +ucheck.third, test.torture torturetest, utest ucheck test.utf8 check.utf8 + =back =item EXTERNAL TOOLS FOR DEBUGGING PERL @@ -5093,6 +5234,8 @@ I =over 4 +=item Binary Incompatibility + =item 64-bit platforms and malloc =item AIX Dynaloading @@ -5119,6 +5262,8 @@ I =item PerlIO is Now The Default +=item Restricted Hashes + =item Safe Signals =item Unicode Overhaul @@ -5181,11 +5326,13 @@ I =item FreeBSD Failing locale Test 117 For ISO8859-15 Locales +=item Modifying $_ Inside for(..) + =item mod_perl 1.26 Doesn't Build With Threaded Perl =item lib/ftmp-security tests warn 'system possibly insecure' -=item HP-UX lib/posix Subtest 9 Fails When LP64-Configured +=item HP-UX lib/posix Subtest 9 Fails When LP64-Configured =item Linux With Sfio Fails op/misc Test 48 @@ -5193,12 +5340,12 @@ I =item op/sprintf tests 91, 129, and 130 +=item Solaris 2.5 + =item Failure of Thread (5.005-style) tests =item UNICOS -=item UNICOS and UNICOS/mk - =item UNICOS/mk =item UTS @@ -5209,8 +5356,6 @@ I =item XML::Parser not working -=item Localising a Tied Variable Leaks Memory - =item z/OS (OS/390) =item Localising Tied Arrays and Hashes Is Broken @@ -7058,50 +7203,6 @@ Source, Compiled Module Source, Perl Modules/Scripts =back -=head2 perldos - Perl under DOS, W31, W95. - -=over 4 - -=item SYNOPSIS - -=item DESCRIPTION - -=over 4 - -=item Prerequisites for Compiling Perl on DOS - -DJGPP, Pthreads - -=item Shortcomings of Perl under DOS - -=item Building Perl on DOS - -=item Testing Perl on DOS - -=item Installation of Perl on DOS - -=back - -=item BUILDING AND INSTALLING MODULES ON DOS - -=over 4 - -=item Building Prerequisites for Perl on DOS - -=item Unpacking CPAN Modules on DOS - -=item Building Non-XS Modules on DOS - -=item Building XS Modules on DOS - -=back - -=item AUTHOR - -=item SEE ALSO - -=back - =head2 perlepoc, README.epoc - Perl for EPOC =over 4 @@ -7165,6 +7266,8 @@ DJGPP, Pthreads =item The HP ANSI C Compiler +=item The GNU C Compiler + =item Using Large Files with Perl on HP-UX =item Threaded Perl on HP-UX @@ -7981,7 +8084,9 @@ LIST, waitpid PID,FLAGS =back -=head2 perlwin32 - Perl under Win32 +=head1 PRAGMA DOCUMENTATION + +=head2 attrs - set/get attributes of a subroutine (deprecated) =over 4 @@ -7989,43 +8094,21 @@ LIST, waitpid PID,FLAGS =item DESCRIPTION -=over 4 - -=item Setting Up Perl on Win32 - -Make, Command Shell, Borland C++, Microsoft Visual C++, Mingw32 with GCC - -=item Building - -=item Testing Perl on Win32 - -=item Installation of Perl on Win32 - -=item Usage Hints for Perl on Win32 - -Environment Variables, File Globbing, Using perl from the command line, -Building Extensions, Command-line Wildcard Expansion, Win32 Specific -Extensions, Running Perl Scripts, Miscellaneous Things +method, locked =back -=item BUGS AND CAVEATS - -=item AUTHORS +=head2 re - Perl pragma to alter regular expression behaviour -Gary Ng E71564.1743@CompuServe.COME, Gurusamy Sarathy -Egsar@activestate.comE, Nick Ing-Simmons -Enick@ing-simmons.netE +=over 4 -=item SEE ALSO +=item SYNOPSIS -=item HISTORY +=item DESCRIPTION =back -=head1 PRAGMA DOCUMENTATION - -=head2 attrs - set/get attributes of a subroutine (deprecated) +=head2 threadshared::queue, threads::shared::queue - thread-safe queues =over 4 @@ -8033,11 +8116,16 @@ Enick@ing-simmons.netE =item DESCRIPTION -method, locked +=item FUNCTIONS AND METHODS + +new, enqueue LIST, dequeue, dequeue_nb, pending + +=item SEE ALSO =back -=head2 re - Perl pragma to alter regular expression behaviour +=head2 threadshared::semaphore, threads::shared::semaphore - thread-safe +semaphores =over 4 @@ -8045,6 +8133,10 @@ method, locked =item DESCRIPTION +=item FUNCTIONS AND METHODS + +new, new NUMBER, down, down NUMBER, up, up NUMBER + =back =head2 threadshared::shared, threads::shared - Perl extension for sharing @@ -8083,24 +8175,20 @@ from perl =item DESCRIPTION $thread = threads->create(function, LIST), $thread->join, $thread->detach, -threads->self, $thread->tid +threads->self, $thread->tid, threads->yield();, threads->list();, async +BLOCK; =item WARNINGS -Cleanup skipped %d active threads +A thread exited while %d other threads were still running -=item TODO +=item BUGS / TODO -Fix so the return value is returned when you join, Add join_all, Fix memory -leaks! +Parent-Child threads, tid is I32, Returning objects, PERL_OLD_SIGNALS are +not threadsafe, will not be =item AUTHOR and COPYRIGHT -=item BUGS - -creating a thread from within a thread is unsafe under win32, -PERL_OLD_SIGNALS are not threadsafe, will not be - =item SEE ALSO =back @@ -8406,7 +8494,7 @@ diagnostics =back -=head2 encoding - allows you to write your script in non-asii or non-utf8 +=head2 encoding - allows you to write your script in non-ascii or non-utf8 =over 4 @@ -8416,7 +8504,7 @@ diagnostics =item USAGE -use encoding [I] ;, use encoding I [ STDIN => +use encoding [I] ;, use encoding I [ STDIN =E I ...] ;, no encoding; =item CAVEATS @@ -8429,6 +8517,10 @@ I ...] ;, no encoding; =back +=item Non-ASCII Identifiers and Filter option + +use encoding I Filter=E1; + =item EXAMPLE - Greekperl =item KNOWN PROBLEMS @@ -8750,24 +8842,20 @@ from perl =item DESCRIPTION $thread = threads->create(function, LIST), $thread->join, $thread->detach, -threads->self, $thread->tid +threads->self, $thread->tid, threads->yield();, threads->list();, async +BLOCK; =item WARNINGS Cleanup skipped %d active threads -=item TODO +=item BUGS / TODO -Fix so the return value is returned when you join, Add join_all, Fix memory -leaks! +Parent-Child threads, tid is I32, Returning objects, PERL_OLD_SIGNALS are +not threadsafe, will not be =item AUTHOR and COPYRIGHT -=item BUGS - -creating a thread from within a thread is unsafe under win32, -PERL_OLD_SIGNALS are not threadsafe, will not be - =item SEE ALSO =back @@ -8798,6 +8886,37 @@ cond_signal VARIABLE, cond_broadcast VARIABLE =back +=head2 threadshared::queue, threads::shared::queue - thread-safe queues + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item FUNCTIONS AND METHODS + +new, enqueue LIST, dequeue, dequeue_nb, pending + +=item SEE ALSO + +=back + +=head2 threadshared::semaphore, threads::shared::semaphore - thread-safe +semaphores + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item FUNCTIONS AND METHODS + +new, new NUMBER, down, down NUMBER, up, up NUMBER + +=back + =head2 utf8 - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source code @@ -9386,6 +9505,8 @@ B<-u Package> =item IMPLEMENTATION +=item BUGS + =item AUTHOR =back @@ -10227,8 +10348,7 @@ C, C =item b -C, C, C, C, C, C, -C, C +C, C, C, C, C, C, C =item c @@ -10244,78 +10364,77 @@ C, C, C C, C, C, C, C, C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, -C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, C, C, -C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, +C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, C, +C, C, C, C, +C, C, C, C, +C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, C, @@ -11014,9 +11133,10 @@ Perl code =item PERL ENCODING API -$bytes = encode(ENCODING, $string[, CHECK]), $string = decode(ENCODING, -$bytes[, CHECK]), [$length =] from_to($string, FROM_ENCODING, TO_ENCODING[, -CHECK]) +$octets = encode(ENCODING, $string [, CHECK]), $string = decode(ENCODING, +$octets [, CHECK]), [$length =] from_to($octets, FROM_ENC, TO_ENC [, +CHECK]), $octets = encode_utf8($string);, $string = decode_utf8($octets [, +CHECK]); =over 4 @@ -11026,33 +11146,43 @@ CHECK]) =back -=item Encoding and IO +=item Encoding via PerlIO =item Handling Malformed Data -Scheme 1, Scheme 2, Other Schemes +I = Encode::FB_DEFAULT ( == 0), I = Encode::FB_CROAK ( == 1), +I = Encode::FB_QUIET, I = Encode::FB_WARN, perlqq mode +(I = Encode::FB_PERLQQ), HTML charref mode (I = +Encode::FB_HTMLCREF), XML charref mode (I = Encode::FB_XMLCREF), The +bitmask =over 4 -=item UTF-8 / utf8 - -$bytes = encode_utf8($string);, $string = decode_utf8($bytes [, CHECK]); +=item Unimplemented fallback schemes =back =item Defining Encodings +=item The UTF-8 flag + +Goal #1:, Goal #2:, Goal #3:, Goal #4: + +=over 4 + =item Messing with Perl's Internals is_utf8(STRING [, CHECK]), _utf8_on(STRING), _utf8_off(STRING) +=back + =item SEE ALSO -=back +=item MAINTAINER -=head2 Encode::10646_1, Encode::10656_1 -- for internal use only +=back -=head2 Encode::Alias - alias defintions to encodings +=head2 Encode::Alias - alias definitions to encodings =over 4 @@ -11065,7 +11195,7 @@ reference, e.g.: =over 4 -=item Alias overloading +=item Alias overloading =back @@ -11107,6 +11237,8 @@ reference, e.g.: =head2 Encode::CN::HZ -- internally used by Encode::CN +=head2 Encode::Config -- internally used by Encode + =head2 Encode::EBCDIC - EBCDIC Encodings =over 4 @@ -11129,22 +11261,57 @@ reference, e.g.: =item DESCRIPTION --Ename, -Enew_sequence, -Eencode($string,$check), --Edecode($octets,$check) - =over 4 -=item Compiled Encodings +=item Methods you should implement -=back +-Eencode($string [,$check]), -Edecode($octets [,$check]) -=item SEE ALSO +=item Other methods defined in Encode::Encodings -=back +-Ename, -Enew_sequence, -Eperlio_ok(), -Eneeds_lines() -=head2 Encode::Internal -- for internal use only +=item Example: Encode::ROT13 -=head2 Encode::JP - Japanese Encodings +=back + +=item Why the heck Encode API is different? + +=over 4 + +=item Compiled Encodings + +=back + +=item SEE ALSO + +Scheme 1, Scheme 2, Other Schemes + +=back + +=head2 Encode::Guess -- Guesses encoding from data + +=over 4 + +=item SYNOPSIS + +=item ABSTRACT + +=item DESCRIPTION + +Encode::Guess->set_suspects, Encode::Guess->add_suspects, +Encode::decode("Guess" ...), Encode::Guess->guess($data), +guess_encoding($data, [, I]) + +=item CAVEATS + +=item TO DO + +=item SEE ALSO + +=back + +=head2 Encode::JP - Japanese Encodings =over 4 @@ -11162,15 +11329,65 @@ reference, e.g.: =back -=head2 Encode::JP::2022_JP -- internally used by Encode::JP +=head2 Encode::JP::H2Z -- internally used by Encode::JP::2022_JP* -=head2 Encode::JP::2022_JP1 -- internally used by Encode::JP +=head2 Encode::JP::JIS7 -- internally used by Encode::JP -=head2 Encode::JP::H2Z -- internally used by Encode::JP::2022_JP* +=head2 Encode::KR - Korean Encodings -=head2 Encode::JP::JIS -- internally used by Encode::JP +=over 4 -=head2 Encode::Supported -- Supported encodings by Encode +=item SYNOPSIS + +=item DESCRIPTION + +=item BUGS + +=item SEE ALSO + +=back + +=head2 Encode::KR::2022_KR -- internally used by Encode::KR + +=head2 Encode::MIME::Header -- MIME 'B' and 'Q' header encoding + +=over 4 + +=item SYNOPSIS + +=item ABSTRACT + +=item DESCRIPTION + +=item BUGS + +=item SEE ALSO + +=back + +=head2 Encode::PerlIO -- a detailed document on Encode and PerlIO + +=over 4 + +=item Overview + +=item How does it work? + +=item BUGS + +=over 4 + +=item Workaround + +=item How can I tell whether my encoding fully supports PerlIO ? + +=back + +=item SEE ALSO + +=back + +=head2 Encode::Supported -- Encodings supported by Encode =over 4 @@ -11188,28 +11405,31 @@ reference, e.g.: =item Built-in Encodings +=item Encode::Unicode -- other Unicode encodings + =item Encode::Byte -- Extended ASCII ISO-8859 and corresponding vendor mappings, KOI8 - De Facto Standard for -Cyrillic world +the Cyrillic world, gsm0338 - Hentai Latin 1 -=item The CJK: Chinese, Japanese, Korean (Multibyte) +=item CJK: Chinese, Japanese, Korean (Multibyte) Encode::CN -- Continental China, Encode::JP -- Japan, Encode::KR -- Korea, -Encode::TW -- Taiwan, Encode::HanExtra -- More Chinese via CPAN +Encode::TW -- Taiwan, Encode::HanExtra -- More Chinese via CPAN, +Encode::JIS2K -- JIS X 0213 encodings via CPAN =item Miscellaneous encodings -Encode::EBCDIC, Encode::Symbols +Encode::EBCDIC, Encode::Symbols, Encode::MIME::Header, Encode::Guess =back =item Unsupported encodings - ISO-2022-JP-2 [RFC1554], ISO-2022-CN [RFC1922], various UP-UX -encodings, Cyrillic encoding ISO-IR-111, ISO-8859-8-1 [Hebrew], Thai -encoding TCVN, Vietnamese encodings VPS, various Mac encodings, (Mac) Indic -encodings + ISO-2022-JP-2 [RFC1554], ISO-2022-CN [RFC1922], Various HP-UX encodings, +Cyrillic encoding ISO-IR-111, ISO-8859-8-1 [Hebrew], ISIRI 3342, Iran +System, ISIRI 2900 [Farsi], Thai encoding TCVN, Vietnamese encodings VPS, +Various Mac encodings, (Mac) Indic encodings =item Encoding vs. Charset -- terminology @@ -11226,20 +11446,26 @@ KS_C_5601-1987, GB2312, Big5, Shift_JIS =item Glossary character repertoire, coded character set (CCS), character encoding scheme -(CES), EUC, ISO-2022, UCS, UCS-2, Unicode, UTF, UTF-16 +(CES), charset (in MIME context), EUC, ISO-2022, UCS, UCS-2, Unicode, UTF, +UTF-16 =item See Also =item References -ECMA, EMCA-035 (eq C), IANA, Assigned Charset Names by IANA, ISO, +ECMA, ECMA-035 (eq C), IANA, Assigned Charset Names by IANA, ISO, RFC, UC, Unicode Glossary =over 4 =item Other Notable Sites -czyborra.com, CJK.inf +czyborra.com, CJK.inf, Jungshik Shin's Hangul FAQ, debian.org: +"Introduction to i18n" + +=item Offline sources + +C by Ken Lunde =back @@ -11275,14 +11501,35 @@ czyborra.com, CJK.inf =back -=head2 Encode::Unicode -- for internal use only +=head2 Encode::Unicode -- Various Unicode Transformation Formats + +=over 4 + +=item SYNOPSIS + +=item ABSTRACT + +L says:, Quick Reference + +=item Size, Endianness, and BOM + +=over 4 + +=item by size + +=item by endianness + +BOM as integer when fetched in network byte order + +=back + +=item Surrogate Pairs -=head2 Encode::XS -- for internal use only +=item SEE ALSO -=head2 Encode::lib::Encode::10646_1, Encode::10656_1 -- for internal use -only +=back -=head2 Encode::lib::Encode::Alias, Encode::Alias - alias defintions to +=head2 Encode::lib::Encode::Alias, Encode::Alias - alias definitions to encodings =over 4 @@ -11296,7 +11543,7 @@ reference, e.g.: =over 4 -=item Alias overloading +=item Alias overloading =back @@ -11310,6 +11557,9 @@ Internally used by Encode::??::ISO_2022_* =head2 Encode::lib::Encode::CN::HZ, Encode::CN::HZ -- internally used by Encode::CN +=head2 Encode::lib::Encode::Config, Encode::Config -- internally used by +Encode + =head2 Encode::lib::Encode::Encoding, Encode::Encoding - Encode Implementation Base Class @@ -11319,8 +11569,21 @@ Implementation Base Class =item DESCRIPTION --Ename, -Enew_sequence, -Eencode($string,$check), --Edecode($octets,$check) +=over 4 + +=item Methods you should implement + +-Eencode($string [,$check]), -Edecode($octets [,$check]) + +=item Other methods defined in Encode::Encodings + +-Ename, -Enew_sequence, -Eperlio_ok(), -Eneeds_lines() + +=item Example: Encode::ROT13 + +=back + +=item Why the heck Encode API is different? =over 4 @@ -11330,25 +11593,84 @@ Implementation Base Class =item SEE ALSO +Scheme 1, Scheme 2, Other Schemes + =back -=head2 Encode::lib::Encode::Internal, Encode::Internal -- for internal use -only +=head2 Encode::lib::Encode::Guess, Encode::Guess -- Guesses encoding from +data + +=over 4 + +=item SYNOPSIS + +=item ABSTRACT + +=item DESCRIPTION -=head2 Encode::lib::Encode::JP::2022_JP, Encode::JP::2022_JP -- internally -used by Encode::JP +Encode::Guess->set_suspects, Encode::Guess->add_suspects, +Encode::decode("Guess" ...), Encode::Guess->guess($data), +guess_encoding($data, [, I]) + +=item CAVEATS -=head2 Encode::lib::Encode::JP::2022_JP1, Encode::JP::2022_JP1 -- -internally used by Encode::JP +=item TO DO + +=item SEE ALSO + +=back =head2 Encode::lib::Encode::JP::H2Z, Encode::JP::H2Z -- internally used by Encode::JP::2022_JP* -=head2 Encode::lib::Encode::JP::JIS, Encode::JP::JIS -- internally used by -Encode::JP +=head2 Encode::lib::Encode::JP::JIS7, Encode::JP::JIS7 -- internally used +by Encode::JP -=head2 Encode::lib::Encode::Supported, Encode::Supported -- Supported -encodings by Encode +=head2 Encode::lib::Encode::KR::2022_KR, Encode::KR::2022_KR -- internally +used by Encode::KR + +=head2 Encode::lib::Encode::MIME::Header, Encode::MIME::Header -- MIME 'B' +and 'Q' header encoding + +=over 4 + +=item SYNOPSIS + +=item ABSTRACT + +=item DESCRIPTION + +=item BUGS + +=item SEE ALSO + +=back + +=head2 Encode::lib::Encode::PerlIO, Encode::PerlIO -- a detailed document +on Encode and PerlIO + +=over 4 + +=item Overview + +=item How does it work? + +=item BUGS + +=over 4 + +=item Workaround + +=item How can I tell whether my encoding fully supports PerlIO ? + +=back + +=item SEE ALSO + +=back + +=head2 Encode::lib::Encode::Supported, Encode::Supported -- Encodings +supported by Encode =over 4 @@ -11366,28 +11688,31 @@ encodings by Encode =item Built-in Encodings +=item Encode::Unicode -- other Unicode encodings + =item Encode::Byte -- Extended ASCII ISO-8859 and corresponding vendor mappings, KOI8 - De Facto Standard for -Cyrillic world +the Cyrillic world, gsm0338 - Hentai Latin 1 -=item The CJK: Chinese, Japanese, Korean (Multibyte) +=item CJK: Chinese, Japanese, Korean (Multibyte) Encode::CN -- Continental China, Encode::JP -- Japan, Encode::KR -- Korea, -Encode::TW -- Taiwan, Encode::HanExtra -- More Chinese via CPAN +Encode::TW -- Taiwan, Encode::HanExtra -- More Chinese via CPAN, +Encode::JIS2K -- JIS X 0213 encodings via CPAN =item Miscellaneous encodings -Encode::EBCDIC, Encode::Symbols +Encode::EBCDIC, Encode::Symbols, Encode::MIME::Header, Encode::Guess =back =item Unsupported encodings - ISO-2022-JP-2 [RFC1554], ISO-2022-CN [RFC1922], various UP-UX -encodings, Cyrillic encoding ISO-IR-111, ISO-8859-8-1 [Hebrew], Thai -encoding TCVN, Vietnamese encodings VPS, various Mac encodings, (Mac) Indic -encodings + ISO-2022-JP-2 [RFC1554], ISO-2022-CN [RFC1922], Various HP-UX encodings, +Cyrillic encoding ISO-IR-111, ISO-8859-8-1 [Hebrew], ISIRI 3342, Iran +System, ISIRI 2900 [Farsi], Thai encoding TCVN, Vietnamese encodings VPS, +Various Mac encodings, (Mac) Indic encodings =item Encoding vs. Charset -- terminology @@ -11404,41 +11729,76 @@ KS_C_5601-1987, GB2312, Big5, Shift_JIS =item Glossary character repertoire, coded character set (CCS), character encoding scheme -(CES), EUC, ISO-2022, UCS, UCS-2, Unicode, UTF, UTF-16 +(CES), charset (in MIME context), EUC, ISO-2022, UCS, UCS-2, Unicode, UTF, +UTF-16 =item See Also =item References -ECMA, EMCA-035 (eq C), IANA, Assigned Charset Names by IANA, ISO, +ECMA, ECMA-035 (eq C), IANA, Assigned Charset Names by IANA, ISO, RFC, UC, Unicode Glossary =over 4 =item Other Notable Sites -czyborra.com, CJK.inf +czyborra.com, CJK.inf, Jungshik Shin's Hangul FAQ, debian.org: +"Introduction to i18n" + +=item Offline sources + +C by Ken Lunde =back =back -=head2 Encode::lib::Encode::Unicode, Encode::Unicode -- for internal use -only +=head2 Encode::lib::Encoder, Encode::Encoder -- Object Oriented Encoder + +=over 4 + +=item SYNOPSIS + + use Encode::Encoder; + # Encode::encode("ISO-8859-1", $data); + Encode::Encoder->new($data)->iso_8859_1; # OOP way + # shortcut + use Encode::Encoder qw(encoder); + encoder($data)->iso_8859_1; + # you can stack them! + encoder($data)->iso_8859_1->base64; # provided base64() is defined + # you can use it as a decoder as well + encoder($base64)->bytes('base64')->latin1; + # stringified + print encoder($data)->utf8->latin1; # prints the string in latin1 + # numified + encoder("\x{abcd}\x{ef}g")->utf8 == 6; # true. bytes::length($data) + +=item ABSTRACT + +=item Description -=head2 Encode::lib::Encode::XS, Encode::XS -- for internal use only +=over 4 -=head2 Encode::lib::Encode::ucs2_le, Encode::ucs2_le -- for internal use -only +=item Predefined Methods -=head2 Encode::lib::Encode::utf8, Encode::utf8 -- for internal use only +$e = Encode::Encoder-Enew([$data, $encoding]);, encoder(), +$e-Edata([$data]), $e-Eencoding([$encoding]), +$e-Ebytes([$encoding]) -=head2 Encode::ucs2_le -- for internal use only +=item Example: base64 transcoder -=head2 Encode::utf8 -- for internal use only +=item Operator Overloading + +=back + +=item SEE ALSO + +=back -=head2 Encodencoding, encoding - allows you to write your script in -non-asii or non-utf8 +=head2 Encodencoding, encoding - allows you to write your script in +non-ascii or non-utf8 =over 4 @@ -11448,7 +11808,7 @@ non-asii or non-utf8 =item USAGE -use encoding [I] ;, use encoding I [ STDIN => +use encoding [I] ;, use encoding I [ STDIN =E I ...] ;, no encoding; =item CAVEATS @@ -11461,6 +11821,10 @@ I ...] ;, no encoding; =back +=item Non-ASCII Identifiers and Filter option + +use encoding I Filter=E1; + =item EXAMPLE - Greekperl =item KNOWN PROBLEMS @@ -11469,6 +11833,49 @@ I ...] ;, no encoding; =back +=head2 Encoder, Encode::Encoder -- Object Oriented Encoder + +=over 4 + +=item SYNOPSIS + + use Encode::Encoder; + # Encode::encode("ISO-8859-1", $data); + Encode::Encoder->new($data)->iso_8859_1; # OOP way + # shortcut + use Encode::Encoder qw(encoder); + encoder($data)->iso_8859_1; + # you can stack them! + encoder($data)->iso_8859_1->base64; # provided base64() is defined + # you can use it as a decoder as well + encoder($base64)->bytes('base64')->latin1; + # stringified + print encoder($data)->utf8->latin1; # prints the string in latin1 + # numified + encoder("\x{abcd}\x{ef}g")->utf8 == 6; # true. bytes::length($data) + +=item ABSTRACT + +=item Description + +=over 4 + +=item Predefined Methods + +$e = Encode::Encoder-Enew([$data, $encoding]);, encoder(), +$e-Edata([$data]), $e-Eencoding([$encoding]), +$e-Ebytes([$encoding]) + +=item Example: base64 transcoder + +=item Operator Overloading + +=back + +=item SEE ALSO + +=back + =head2 English - use nice English (or awk) names for ugly punctuation variables @@ -11873,6 +12280,49 @@ B =back +=head2 ExtUtils::MM_MacOS - methods to override UN*X behaviour in +ExtUtils::MakeMaker + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=back + +maybe_command + +guess_name + +macify + +patternify + +init_main + +init_others + +init_dirscan + +libscan (o) + +constants (o) + +static (o) + +dlsyms (o) + +dynamic (o) + +clean (o) + +realclean (o) + +rulez (o) + +processPL (o) + =head2 ExtUtils::MM_NW5 - methods to override UN*X behaviour in ExtUtils::MakeMaker @@ -11886,6 +12336,8 @@ ExtUtils::MakeMaker constants (o) +static_lib (o) + dynamic_lib (o) =head2 ExtUtils::MM_OS2 - methods to override UN*X behaviour in @@ -11991,6 +12443,8 @@ extliblist find_perl +find_tests + =over 4 =item Methods to actually produce chunks of text for the Makefile @@ -12015,6 +12469,8 @@ init_INST init_INSTALL +init_lib2arch + init_PERL init_PERM @@ -12220,12 +12676,16 @@ perldepend (override) makefile (override) +find_tests (override) + test (override) makeaperl (override) nicetext (override) +prefixify (override) + =head2 ExtUtils::MM_Win32 - methods to override UN*X behaviour in ExtUtils::MakeMaker @@ -12265,6 +12725,16 @@ dist_core (o) pasthru (o) +=head2 ExtUtils::MM_Win95 - method to customize MakeMaker for Win9X + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=back + =head2 ExtUtils::MY - ExtUtils::MakeMaker subclass for customization =over 4 @@ -12312,15 +12782,18 @@ CONFIGURE, DEFINE, DIR, DISTNAME, DL_FUNCS, DL_VARS, EXCLUDE_EXT, EXE_FILES, FIRST_MAKEFILE, FULLPERL, FULLPERLRUN, FULLPERLRUNINST, FUNCLIST, H, IMPORTS, INC, INCLUDE_EXT, INSTALLARCHLIB, INSTALLBIN, INSTALLDIRS, INSTALLMAN1DIR, INSTALLMAN3DIR, INSTALLPRIVLIB, INSTALLSCRIPT, -INSTALLSITEARCH, INSTALLSITELIB, INST_ARCHLIB, INST_BIN, INST_LIB, -INST_MAN1DIR, INST_MAN3DIR, INST_SCRIPT, LDFROM, LIB, LIBPERL_A, LIBS, -LINKTYPE, MAKEAPERL, MAKEFILE, MAN1PODS, MAN3PODS, MAP_TARGET, MYEXTLIB, -NAME, NEEDS_LINKING, NOECHO, NORECURS, NO_VC, OBJECT, OPTIMIZE, PERL, -PERL_CORE, PERLMAINCC, PERL_ARCHLIB, PERL_LIB, PERL_MALLOC_OK, PERLRUN, -PERLRUNINST, PERL_SRC, PERM_RW, PERM_RWX, PL_FILES, PM, PMLIBDIRS, +INSTALLSITEARCH, INSTALLSITEBIN, INSTALLSITELIB, INSTALLSITEMAN1DIR, +INSTALLSITEMAN3DIR, INSTALLVENDORARCH, INSTALLVENDORBIN, INSTALLVENDORLIB, +INSTALLVENDORMAN1DIR, INSTALLVENDORMAN3DIR, INST_ARCHLIB, INST_BIN, +INST_LIB, INST_MAN1DIR, INST_MAN3DIR, INST_SCRIPT, LDFROM, LIB, LIBPERL_A, +LIBS, LINKTYPE, MAKEAPERL, MAKEFILE, MAN1PODS, MAN3PODS, MAP_TARGET, +MYEXTLIB, NAME, NEEDS_LINKING, NOECHO, NORECURS, NO_VC, OBJECT, OPTIMIZE, +PERL, PERL_CORE, PERLMAINCC, PERL_ARCHLIB, PERL_LIB, PERL_MALLOC_OK, +PERLRUN, PERLRUNINST, PERL_SRC, PERM_RW, PERM_RWX, PL_FILES, PM, PMLIBDIRS, PM_FILTER, POLLUTE, PPM_INSTALL_EXEC, PPM_INSTALL_SCRIPT, PREFIX, -PREREQ_PM, PREREQ_FATAL, PREREQ_PRINT, PRINT_PREREQ, SKIP, TYPEMAPS, -VERSION, VERSION_FROM, XS, XSOPT, XSPROTOARG, XS_VERSION +PREREQ_PM, PREREQ_FATAL, PREREQ_PRINT, PRINT_PREREQ, SITEPREFIX, SKIP, +TYPEMAPS, VENDORPREFIX, VERBINST, VERSION, VERSION_FROM, XS, XSOPT, +XSPROTOARG, XS_VERSION =item Additional lowercase attributes @@ -12367,8 +12840,8 @@ PERL_MM_OPT, PERL_MM_USE_DEFAULT =item DIAGNOSTICS -C I, C I, C I<$!>, -C I +C I, C I, C I, +C I<$!>, C I =item ENVIRONMENT @@ -12499,6 +12972,10 @@ C, C =item DESCRIPTION +=item AUTHOR + +=item HISTORY + =back =head2 File::Compare - Compare files or filehandles @@ -13022,6 +13499,10 @@ TopSystemUID =item DESCRIPTION +cacheout EXPR, cacheout MODE, EXPR + +=item CAVEATS + =item BUGS =back @@ -15579,6 +16060,8 @@ login (), password (), account (), lpa () =item IMPLEMENTATION +=item BUGS + =item AUTHOR =back @@ -15836,7 +16319,7 @@ name space =item DESCRIPTION -unix, stdio, perlio, crlf, utf8, raw +unix, stdio, perlio, crlf, utf8, bytes, raw =over 4 @@ -15884,6 +16367,18 @@ $obj->CLEARERR($fh), $obj->ERROR($fh), $obj->EOF($fh) =back +=head2 PerlIO::encoding - encoding layer + +=over 4 + +=item SYNOPSIS + +=item DESCRIPTION + +=item SEE ALSO + +=back + =head2 Pod::Checker, podchecker() - check pod documents for syntax errors =over 4 @@ -17252,7 +17747,7 @@ SOCKADDR_UN, pack_sockaddr_un PATH, unpack_sockaddr_un SOCKADDR_UN =back -=head2 Storable - persistency for perl data structures +=head2 Storable - persistence for Perl data structures =over 4 @@ -17268,6 +17763,10 @@ SOCKADDR_UN, pack_sockaddr_un PATH, unpack_sockaddr_un SOCKADDR_UN =item CANONICAL REPRESENTATION +=item FORWARD COMPATIBILITY + +utf8 data, restricted hashes, files from future versions of Storable + =item ERROR REPORTING =item WIZARDS ONLY @@ -17300,8 +17799,6 @@ C =item CREDITS -=item TRANSLATIONS - =item AUTHOR =item SEE ALSO @@ -17608,6 +18105,8 @@ B, B B, B +B + B B @@ -17728,13 +18227,13 @@ B<_leader_width> C, C, C, C, C, C +%s>, C =item ENVIRONMENT -C, C, C, -C, C, C, -C +C, C, C, +C, C, C, +C, C =item EXAMPLE @@ -18545,7 +19044,7 @@ $obj->isa( TYPE ), CLASS->isa( TYPE ), isa( VAL, TYPE ), $obj->can( METHOD =back -=head2 Unicode::Collate - use UCA (Unicode Collation Algorithm) +=head2 Unicode::Collate - Unicode Collation Algorithm =over 4 @@ -18561,34 +19060,44 @@ alternate, backwards, entry, ignoreName, ignoreChar, level, normalization, overrideCJK, overrideHangul, preprocess, rearrange, table, undefName, undefChar, katakana_before_hiragana, upper_before_lower -=item Other methods +=item Methods for Collation C<@sorted = $Collator-Esort(@not_sorted)>, C<$result = $Collator-Ecmp($a, $b)>, C<$result = $Collator-Eeq($a, $b)>, C<$result = $Collator-Ene($a, $b)>, C<$result = $Collator-Elt($a, $b)>, C<$result = $Collator-Ele($a, $b)>, C<$result = $Collator-Egt($a, $b)>, C<$result = $Collator-Ege($a, $b)>, -C<$sortKey = $Collator-EgetSortKey($string)>, C<$position = +C<$sortKey = $Collator-EgetSortKey($string)>, C<$sortKeyForm = +$Collator-EviewSortKey($string)>, C<$position = $Collator-Eindex($string, $substring)>, C<($position, $length) = $Collator-Eindex($string, $substring)> +=item Other Methods + +UCA_Version, Base_Unicode_Version + =item EXPORT =item TODO =item CAVEAT +=item BUGS + =back =item AUTHOR =item SEE ALSO -Unicode Collation Algorithm - Unicode TR #10, L +http://www.unicode.org/unicode/reports/tr10/, +http://www.unicode.org/unicode/reports/tr10/allkeys.txt, +http://www.unicode.org/unicode/reports/tr15/, +http://www.unicode.org/unicode/reports/tr18, L =back -=head2 Unicode::Normalize - normalized forms of Unicode text +=head2 Unicode::Normalize - Unicode Normalization Forms =over 4