This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RE: [PATCH] Warning on pararameterless 'use IO' and doc update
[perl5.git] / pod / perlmodlib.pod
1 =for maintainers
2 Generated by perlmodlib.PL -- DO NOT EDIT!
3
4 =head1 NAME
5
6 perlmodlib - constructing new Perl modules and finding existing ones
7
8 =head1 THE PERL MODULE LIBRARY
9
10 Many modules are included in the Perl distribution.  These are described
11 below, and all end in F<.pm>.  You may discover compiled library
12 files (usually ending in F<.so>) or small pieces of modules to be
13 autoloaded (ending in F<.al>); these were automatically generated
14 by the installation process.  You may also discover files in the
15 library directory that end in either F<.pl> or F<.ph>.  These are
16 old libraries supplied so that old programs that use them still
17 run.  The F<.pl> files will all eventually be converted into standard
18 modules, and the F<.ph> files made by B<h2ph> will probably end up
19 as extension modules made by B<h2xs>.  (Some F<.ph> values may
20 already be available through the POSIX, Errno, or Fcntl modules.)
21 The B<pl2pm> file in the distribution may help in your conversion,
22 but it's just a mechanical process and therefore far from bulletproof.
23
24 =head2 Pragmatic Modules
25
26 They work somewhat like compiler directives (pragmata) in that they
27 tend to affect the compilation of your program, and thus will usually
28 work well only when used within a C<use>, or C<no>.  Most of these
29 are lexically scoped, so an inner BLOCK may countermand them
30 by saying:
31
32     no integer;
33     no strict 'refs';
34     no warnings;
35
36 which lasts until the end of that BLOCK.
37
38 Some pragmas are lexically scoped--typically those that affect the
39 C<$^H> hints variable.  Others affect the current package instead,
40 like C<use vars> and C<use subs>, which allow you to predeclare a
41 variables or subroutines within a particular I<file> rather than
42 just a block.  Such declarations are effective for the entire file
43 for which they were declared.  You cannot rescind them with C<no
44 vars> or C<no subs>.
45
46 The following pragmas are defined (and have their own documentation).
47
48 =over 12
49
50 =item attributes
51
52 Get/set subroutine or variable attributes
53
54 =item attrs
55
56 Set/get attributes of a subroutine (deprecated)
57
58 =item autouse
59
60 Postpone load of modules until a function is used
61
62 =item base
63
64 Establish IS-A relationship with base class at compile time
65
66 =item bigint
67
68 Transparent BigInteger support for Perl
69
70 =item bignum
71
72 Transparent BigNumber support for Perl
73
74 =item bigrat
75
76 Transparent BigNumber/BigRationale support for Perl
77
78 =item blib
79
80 Use MakeMaker's uninstalled version of a package
81
82 =item bytes
83
84 Force byte semantics rather than character semantics
85
86 =item charnames
87
88 Define character names for C<\N{named}> string literal escapes
89
90 =item constant
91
92 Declare constants
93
94 =item diagnostics
95
96 Perl compiler pragma to force verbose warning diagnostics
97
98 =item encoding
99
100 Allows you to write your script in non-ascii or non-utf8
101
102 =item fields
103
104 Compile-time class fields
105
106 =item filetest
107
108 Control the filetest permission operators
109
110 =item if
111
112 C<use> a Perl module if a condition holds
113
114 =item integer
115
116 Use integer arithmetic instead of floating point
117
118 =item less
119
120 Request less of something from the compiler
121
122 =item lib
123
124 Manipulate @INC at compile time
125
126 =item locale
127
128 Use and avoid POSIX locales for built-in operations
129
130 =item open
131
132 Set default PerlIO layers for input and output
133
134 =item ops
135
136 Restrict unsafe operations when compiling
137
138 =item overload
139
140 Package for overloading perl operations
141
142 =item re
143
144 Alter regular expression behaviour
145
146 =item sigtrap
147
148 Enable simple signal handling
149
150 =item sort
151
152 Control sort() behaviour
153
154 =item strict
155
156 Restrict unsafe constructs
157
158 =item subs
159
160 Predeclare sub names
161
162 =item threads
163
164 Perl extension allowing use of interpreter based threads from perl
165
166 =item threads::shared
167
168 Perl extension for sharing data structures between threads
169
170 =item utf8
171
172 Enable/disable UTF-8 (or UTF-EBCDIC) in source code
173
174 =item vars
175
176 Predeclare global variable names (obsolete)
177
178 =item version
179
180 Perl extension for Version Objects
181
182 =item vmsish
183
184 Control VMS-specific language features
185
186 =item warnings
187
188 Control optional warnings
189
190 =item warnings::register
191
192 Warnings import function
193
194 =back
195
196 =head2 Standard Modules
197
198 Standard, bundled modules are all expected to behave in a well-defined
199 manner with respect to namespace pollution because they use the
200 Exporter module.  See their own documentation for details.
201
202 It's possible that not all modules listed below are installed on your
203 system. For example, the GDBM_File module will not be installed if you
204 don't have the gdbm library.
205
206 =over 12
207
208 =item AnyDBM_File
209
210 Provide framework for multiple DBMs
211
212 =item Attribute::Handlers
213
214 Simpler definition of attribute handlers
215
216 =item AutoLoader
217
218 Load subroutines only on demand
219
220 =item AutoSplit
221
222 Split a package for autoloading
223
224 =item B
225
226 The Perl Compiler
227
228 =item B::Asmdata
229
230 Autogenerated data about Perl ops, used to generate bytecode
231
232 =item B::Assembler
233
234 Assemble Perl bytecode
235
236 =item B::Bblock
237
238 Walk basic blocks
239
240 =item B::Bytecode
241
242 Perl compiler's bytecode backend
243
244 =item B::C
245
246 Perl compiler's C backend
247
248 =item B::CC
249
250 Perl compiler's optimized C translation backend
251
252 =item B::Concise
253
254 Walk Perl syntax tree, printing concise info about ops
255
256 =item B::Debug
257
258 Walk Perl syntax tree, printing debug info about ops
259
260 =item B::Deparse
261
262 Perl compiler backend to produce perl code
263
264 =item B::Disassembler
265
266 Disassemble Perl bytecode
267
268 =item B::Lint
269
270 Perl lint
271
272 =item B::Showlex
273
274 Show lexical variables used in functions or files
275
276 =item B::Stackobj
277
278 Helper module for CC backend
279
280 =item B::Stash
281
282 Show what stashes are loaded
283
284 =item B::Terse
285
286 Walk Perl syntax tree, printing terse info about ops
287
288 =item B::Xref
289
290 Generates cross reference reports for Perl programs
291
292 =item Benchmark
293
294 Benchmark running times of Perl code
295
296 =item ByteLoader
297
298 Load byte compiled perl code
299
300 =item CGI
301
302 Simple Common Gateway Interface Class
303
304 =item CGI::Apache
305
306 Backward compatibility module for CGI.pm
307
308 =item CGI::Carp
309
310 CGI routines for writing to the HTTPD (or other) error log
311
312 =item CGI::Cookie
313
314 Interface to Netscape Cookies
315
316 =item CGI::Fast
317
318 CGI Interface for Fast CGI
319
320 =item CGI::Pretty
321
322 Module to produce nicely formatted HTML code
323
324 =item CGI::Push
325
326 Simple Interface to Server Push
327
328 =item CGI::Switch
329
330 Backward compatibility module for defunct CGI::Switch
331
332 =item CGI::Util
333
334 Internal utilities used by CGI module
335
336 =item CPAN
337
338 Query, download and build perl modules from CPAN sites
339
340 =item CPAN::FirstTime
341
342 Utility for CPAN::Config file Initialization
343
344 =item CPAN::Nox
345
346 Wrapper around CPAN.pm without using any XS module
347
348 =item Carp
349
350 Warn of errors (from perspective of caller)
351
352 =item Carp::Heavy
353
354 No user serviceable parts inside
355
356 =item Class::ISA
357
358 Report the search path for a class's ISA tree
359
360 =item Class::Struct
361
362 Declare struct-like datatypes as Perl classes
363
364 =item Config
365
366 Access Perl configuration information
367
368 =item Cwd
369
370 Get pathname of current working directory
371
372 =item DB
373
374 Programmatic interface to the Perl debugging API (draft, subject to
375
376 =item DB_File
377
378 Perl5 access to Berkeley DB version 1.x
379
380 =item Data::Dumper
381
382 Stringified perl data structures, suitable for both printing and C<eval>
383
384 =item Devel::DProf
385
386 A Perl code profiler
387
388 =item Devel::Peek
389
390 A data debugging tool for the XS programmer
391
392 =item Devel::SelfStubber
393
394 Generate stubs for a SelfLoading module
395
396 =item Digest
397
398 Modules that calculate message digests
399
400 =item Digest::MD5
401
402 Perl interface to the MD5 Algorithm
403
404 =item DirHandle
405
406 Supply object methods for directory handles
407
408 =item Dumpvalue
409
410 Provides screen dump of Perl data.
411
412 =item DynaLoader
413
414 Dynamically load C libraries into Perl code
415
416 =item Encode
417
418 Character encodings
419
420 =item Encode::Alias
421
422 Alias definitions to encodings
423
424 =item Encode::Byte
425
426 Single Byte Encodings
427
428 =item Encode::CJKConstants
429
430 Internally used by Encode::??::ISO_2022_*
431
432 =item Encode::CN
433
434 China-based Chinese Encodings
435
436 =item Encode::CN::HZ
437
438 Internally used by Encode::CN
439
440 =item Encode::Config
441
442 Internally used by Encode
443
444 =item Encode::EBCDIC
445
446 EBCDIC Encodings
447
448 =item Encode::Encoder
449
450 Object Oriented Encoder
451
452 =item Encode::Encoding
453
454 Encode Implementation Base Class
455
456 =item Encode::Guess
457
458 Guesses encoding from data
459
460 =item Encode::JP
461
462 Japanese Encodings
463
464 =item Encode::JP::H2Z
465
466 Internally used by Encode::JP::2022_JP*
467
468 =item Encode::JP::JIS7
469
470 Internally used by Encode::JP
471
472 =item Encode::KR
473
474 Korean Encodings
475
476 =item Encode::KR::2022_KR
477
478 Internally used by Encode::KR
479
480 =item Encode::MIME::Header
481
482 MIME 'B' and 'Q' header encoding
483
484 =item Encode::PerlIO
485
486 A detailed document on Encode and PerlIO
487
488 =item Encode::Supported
489
490 Encodings supported by Encode
491
492 =item Encode::Symbol
493
494 Symbol Encodings
495
496 =item Encode::TW
497
498 Taiwan-based Chinese Encodings
499
500 =item Encode::Unicode
501
502 Various Unicode Transformation Formats
503
504 =item English
505
506 Use nice English (or awk) names for ugly punctuation variables
507
508 =item Env
509
510 Perl module that imports environment variables as scalars or arrays
511
512 =item Errno
513
514 System errno constants
515
516 =item Exporter
517
518 Implements default import method for modules
519
520 =item Exporter::Heavy
521
522 Exporter guts
523
524 =item ExtUtils::Command
525
526 Utilities to replace common UNIX commands in Makefiles etc.
527
528 =item ExtUtils::Command::MM
529
530 Commands for the MM's to use in Makefiles
531
532 =item ExtUtils::Constant
533
534 Generate XS code to import C header constants
535
536 =item ExtUtils::Embed
537
538 Utilities for embedding Perl in C/C++ applications
539
540 =item ExtUtils::Install
541
542 Install files from here to there
543
544 =item ExtUtils::Installed
545
546 Inventory management of installed modules
547
548 =item ExtUtils::Liblist
549
550 Determine libraries to use and how to use them
551
552 =item ExtUtils::MM
553
554 OS adjusted ExtUtils::MakeMaker subclass
555
556 =item ExtUtils::MM_Any
557
558 Platform agnostic MM methods
559
560 =item ExtUtils::MM_BeOS
561
562 Methods to override UN*X behaviour in ExtUtils::MakeMaker
563
564 =item ExtUtils::MM_Cygwin
565
566 Methods to override UN*X behaviour in ExtUtils::MakeMaker
567
568 =item ExtUtils::MM_DOS
569
570 DOS specific subclass of ExtUtils::MM_Unix
571
572 =item ExtUtils::MM_MacOS
573
574 Methods to override UN*X behaviour in ExtUtils::MakeMaker
575
576 =item ExtUtils::MM_NW5
577
578 Methods to override UN*X behaviour in ExtUtils::MakeMaker
579
580 =item ExtUtils::MM_OS2
581
582 Methods to override UN*X behaviour in ExtUtils::MakeMaker
583
584 =item ExtUtils::MM_UWIN
585
586 U/WIN specific subclass of ExtUtils::MM_Unix
587
588 =item ExtUtils::MM_Unix
589
590 Methods used by ExtUtils::MakeMaker
591
592 =item ExtUtils::MM_VMS
593
594 Methods to override UN*X behaviour in ExtUtils::MakeMaker
595
596 =item ExtUtils::MM_Win32
597
598 Methods to override UN*X behaviour in ExtUtils::MakeMaker
599
600 =item ExtUtils::MM_Win95
601
602 Method to customize MakeMaker for Win9X
603
604 =item ExtUtils::MY
605
606 ExtUtils::MakeMaker subclass for customization
607
608 =item ExtUtils::MakeMaker
609
610 Create an extension Makefile
611
612 =item ExtUtils::Manifest
613
614 Utilities to write and check a MANIFEST file
615
616 =item ExtUtils::Mkbootstrap
617
618 Make a bootstrap file for use by DynaLoader
619
620 =item ExtUtils::Mksymlists
621
622 Write linker options files for dynamic extension
623
624 =item ExtUtils::Packlist
625
626 Manage .packlist files
627
628 =item ExtUtils::testlib
629
630 Add blib/* directories to @INC
631
632 =item Fatal
633
634 Replace functions with equivalents which succeed or die
635
636 =item Fcntl
637
638 Load the C Fcntl.h defines
639
640 =item File::Basename
641
642 Split a pathname into pieces
643
644 =item File::CheckTree
645
646 Run many filetest checks on a tree
647
648 =item File::Compare
649
650 Compare files or filehandles
651
652 =item File::Copy
653
654 Copy files or filehandles
655
656 =item File::DosGlob
657
658 DOS like globbing and then some
659
660 =item File::Find
661
662 Traverse a directory tree.
663
664 =item File::Glob
665
666 Perl extension for BSD glob routine
667
668 =item File::Path
669
670 Create or remove directory trees
671
672 =item File::Spec
673
674 Portably perform operations on file names
675
676 =item File::Spec::Cygwin
677
678 Methods for Cygwin file specs
679
680 =item File::Spec::Epoc
681
682 Methods for Epoc file specs
683
684 =item File::Spec::Functions
685
686 Portably perform operations on file names
687
688 =item File::Spec::Mac
689
690 File::Spec for Mac OS (Classic)
691
692 =item File::Spec::OS2
693
694 Methods for OS/2 file specs
695
696 =item File::Spec::Unix
697
698 File::Spec for Unix, base for other File::Spec modules
699
700 =item File::Spec::VMS
701
702 Methods for VMS file specs
703
704 =item File::Spec::Win32
705
706 Methods for Win32 file specs
707
708 =item File::Temp
709
710 Return name and handle of a temporary file safely
711
712 =item File::stat
713
714 By-name interface to Perl's built-in stat() functions
715
716 =item FileCache
717
718 Keep more files open than the system permits
719
720 =item FileHandle
721
722 Supply object methods for filehandles
723
724 =item Filter::Simple
725
726 Simplified source filtering
727
728 =item Filter::Util::Call
729
730 Perl Source Filter Utility Module
731
732 =item FindBin
733
734 Locate directory of original perl script
735
736 =item GDBM_File
737
738 Perl5 access to the gdbm library.
739
740 =item Getopt::Long
741
742 Extended processing of command line options
743
744 =item Getopt::Std
745
746 Process single-character switches with switch clustering
747
748 =item Hash::Util
749
750 A selection of general-utility hash subroutines
751
752 =item I18N::Collate
753
754 Compare 8-bit scalar data according to the current locale
755
756 =item I18N::LangTags
757
758 Functions for dealing with RFC3066-style language tags
759
760 =item I18N::LangTags::List
761
762 Tags and names for human languages
763
764 =item I18N::Langinfo
765
766 Query locale information
767
768 =item IO
769
770 Load various IO modules
771
772 =item IO::Dir
773
774 Supply object methods for directory handles
775
776 =item IO::File
777
778 Supply object methods for filehandles
779
780 =item IO::Handle
781
782 Supply object methods for I/O handles
783
784 =item IO::Pipe
785
786 Supply object methods for pipes
787
788 =item IO::Poll
789
790 Object interface to system poll call
791
792 =item IO::Seekable
793
794 Supply seek based methods for I/O objects
795
796 =item IO::Select
797
798 OO interface to the select system call
799
800 =item IO::Socket
801
802 Object interface to socket communications
803
804 =item IO::Socket::INET
805
806 Object interface for AF_INET domain sockets
807
808 =item IO::Socket::UNIX
809
810 Object interface for AF_UNIX domain sockets
811
812 =item IPC::Open2
813
814 Open a process for both reading and writing
815
816 =item IPC::Open3
817
818 Open a process for reading, writing, and error handling
819
820 =item IPC::SysV
821
822 SysV IPC constants
823
824 =item IPC::SysV::Msg
825
826 SysV Msg IPC object class
827
828 =item IPC::SysV::Semaphore
829
830 SysV Semaphore IPC object class
831
832 =item List::Util
833
834 A selection of general-utility list subroutines
835
836 =item Locale::Constants
837
838 Constants for Locale codes
839
840 =item Locale::Country
841
842 ISO codes for country identification (ISO 3166)
843
844 =item Locale::Currency
845
846 ISO three letter codes for currency identification (ISO 4217)
847
848 =item Locale::Language
849
850 ISO two letter codes for language identification (ISO 639)
851
852 =item Locale::Maketext
853
854 Framework for localization
855
856 =item Locale::Maketext::TPJ13
857
858 Article about software localization
859
860 =item Locale::Script
861
862 ISO codes for script identification (ISO 15924)
863
864 =item MIME::Base64
865
866 Encoding and decoding of base64 strings
867
868 =item MIME::Base64::QuotedPrint
869
870 Encoding and decoding of quoted-printable strings
871
872 =item Math::BigFloat
873
874 Arbitrary size floating point math package
875
876 =item Math::BigInt
877
878 Arbitrary size integer math package
879
880 =item Math::BigInt::Calc
881
882 Pure Perl module to support Math::BigInt
883
884 =item Math::BigInt::Scalar
885
886 Pure Perl module to test Math::BigInt with scalars
887
888 =item Math::BigRat
889
890 Arbitrarily big rationales
891
892 =item Math::Complex
893
894 Complex numbers and associated mathematical functions
895
896 =item Math::Trig
897
898 Trigonometric functions
899
900 =item Memoize
901
902 Make functions faster by trading space for time
903
904 =item Memoize::AnyDBM_File
905
906 Glue to provide EXISTS for AnyDBM_File for Storable use
907
908 =item Memoize::Expire
909
910 Plug-in module for automatic expiration of memoized values
911
912 =item Memoize::ExpireFile
913
914 Test for Memoize expiration semantics
915
916 =item Memoize::ExpireTest
917
918 Test for Memoize expiration semantics
919
920 =item Memoize::NDBM_File
921
922 Glue to provide EXISTS for NDBM_File for Storable use
923
924 =item Memoize::SDBM_File
925
926 Glue to provide EXISTS for SDBM_File for Storable use
927
928 =item Memoize::Storable
929
930 Store Memoized data in Storable database
931
932 =item NDBM_File
933
934 Tied access to ndbm files
935
936 =item NEXT
937
938 Provide a pseudo-class NEXT that allows method redispatch
939
940 =item Net::Cmd
941
942 Network Command class (as used by FTP, SMTP etc)
943
944 =item Net::Config
945
946 Local configuration data for libnet
947
948 =item Net::Domain
949
950 Attempt to evaluate the current host's internet name and domain
951
952 =item Net::FTP
953
954 FTP Client class
955
956 =item Net::NNTP
957
958 NNTP Client class
959
960 =item Net::Netrc
961
962 OO interface to users netrc file
963
964 =item Net::POP3
965
966 Post Office Protocol 3 Client class (RFC1939)
967
968 =item Net::Ping
969
970 Check a remote host for reachability
971
972 =item Net::SMTP
973
974 Simple Mail Transfer Protocol Client
975
976 =item Net::Time
977
978 Time and daytime network client interface
979
980 =item Net::hostent
981
982 By-name interface to Perl's built-in gethost*() functions
983
984 =item Net::libnetFAQ
985
986 Libnet Frequently Asked Questions
987
988 =item Net::netent
989
990 By-name interface to Perl's built-in getnet*() functions
991
992 =item Net::protoent
993
994 By-name interface to Perl's built-in getproto*() functions
995
996 =item Net::servent
997
998 By-name interface to Perl's built-in getserv*() functions
999
1000 =item O
1001
1002 Generic interface to Perl Compiler backends
1003
1004 =item ODBM_File
1005
1006 Tied access to odbm files
1007
1008 =item Opcode
1009
1010 Disable named opcodes when compiling perl code
1011
1012 =item POSIX
1013
1014 Perl interface to IEEE Std 1003.1
1015
1016 =item PerlIO
1017
1018 On demand loader for PerlIO layers and root of PerlIO::* name space
1019
1020 =item PerlIO::encoding
1021
1022 Encoding layer
1023
1024 =item PerlIO::scalar
1025
1026 Support module for in-memory IO.
1027
1028 =item PerlIO::via
1029
1030 Helper class for PerlIO layers implemented in perl
1031
1032 =item PerlIO::via::QuotedPrint
1033
1034 PerlIO layer for quoted-printable strings
1035
1036 =item Pod::Checker
1037
1038 Check pod documents for syntax errors
1039
1040 =item Pod::Find
1041
1042 Find POD documents in directory trees
1043
1044 =item Pod::Functions
1045
1046 Group Perl's functions a la perlfunc.pod
1047
1048 =item Pod::Html
1049
1050 Module to convert pod files to HTML
1051
1052 =item Pod::InputObjects
1053
1054 Objects representing POD input paragraphs, commands, etc.
1055
1056 =item Pod::LaTeX
1057
1058 Convert Pod data to formatted Latex
1059
1060 =item Pod::Man
1061
1062 Convert POD data to formatted *roff input
1063
1064 =item Pod::ParseLink
1065
1066 Parse an LE<lt>E<gt> formatting code in POD text
1067
1068 =item Pod::ParseUtils
1069
1070 Helpers for POD parsing and conversion
1071
1072 =item Pod::Parser
1073
1074 Base class for creating POD filters and translators
1075
1076 =item Pod::Plainer
1077
1078 Perl extension for converting Pod to old style Pod.
1079
1080 =item Pod::Select
1081
1082 Extract selected sections of POD from input
1083
1084 =item Pod::Text
1085
1086 Convert POD data to formatted ASCII text
1087
1088 =item Pod::Text::Color
1089
1090 Convert POD data to formatted color ASCII text
1091
1092 =item Pod::Text::Overstrike
1093
1094 Convert POD data to formatted overstrike text
1095
1096 =item Pod::Text::Termcap
1097
1098 Convert POD data to ASCII text with format escapes
1099
1100 =item Pod::Usage
1101
1102 Print a usage message from embedded pod documentation
1103
1104 =item SDBM_File
1105
1106 Tied access to sdbm files
1107
1108 =item Safe
1109
1110 Compile and execute code in restricted compartments
1111
1112 =item Scalar::Util
1113
1114 A selection of general-utility scalar subroutines
1115
1116 =item Search::Dict
1117
1118 Search for key in dictionary file
1119
1120 =item SelectSaver
1121
1122 Save and restore selected file handle
1123
1124 =item SelfLoader
1125
1126 Load functions only on demand
1127
1128 =item Shell
1129
1130 Run shell commands transparently within perl
1131
1132 =item Socket
1133
1134 Load the C socket.h defines and structure manipulators 
1135
1136 =item Storable
1137
1138 Persistence for Perl data structures
1139
1140 =item Switch
1141
1142 A switch statement for Perl
1143
1144 =item Symbol
1145
1146 Manipulate Perl symbols and their names
1147
1148 =item Sys::Hostname
1149
1150 Try every conceivable way to get hostname
1151
1152 =item Sys::Syslog
1153
1154 Perl interface to the UNIX syslog(3) calls
1155
1156 =item Term::ANSIColor
1157
1158 Color screen output using ANSI escape sequences
1159
1160 =item Term::Cap
1161
1162 Perl termcap interface
1163
1164 =item Term::Complete
1165
1166 Perl word completion module
1167
1168 =item Term::ReadLine
1169
1170 Perl interface to various C<readline> packages.
1171
1172 =item Test
1173
1174 Provides a simple framework for writing test scripts
1175
1176 =item Test::Builder
1177
1178 Backend for building test libraries
1179
1180 =item Test::Harness
1181
1182 Run perl standard test scripts with statistics
1183
1184 =item Test::Harness::Assert
1185
1186 Simple assert
1187
1188 =item Test::Harness::Iterator
1189
1190 Internal Test::Harness Iterator
1191
1192 =item Test::Harness::Straps
1193
1194 Detailed analysis of test results
1195
1196 =item Test::More
1197
1198 Yet another framework for writing test scripts
1199
1200 =item Test::Simple
1201
1202 Basic utilities for writing tests.
1203
1204 =item Test::Tutorial
1205
1206 A tutorial about writing really basic tests
1207
1208 =item Text::Abbrev
1209
1210 Create an abbreviation table from a list
1211
1212 =item Text::Balanced
1213
1214 Extract delimited text sequences from strings.
1215
1216 =item Text::ParseWords
1217
1218 Parse text into an array of tokens or array of arrays
1219
1220 =item Text::Soundex
1221
1222 Implementation of the Soundex Algorithm as Described by Knuth
1223
1224 =item Text::Tabs
1225
1226 Expand and unexpand tabs per the unix expand(1) and unexpand(1)
1227
1228 =item Text::Wrap
1229
1230 Line wrapping to form simple paragraphs
1231
1232 =item Thread
1233
1234 Manipulate threads in Perl (for old code only)
1235
1236 =item Thread::Queue
1237
1238 Thread-safe queues
1239
1240 =item Thread::Semaphore
1241
1242 Thread-safe semaphores
1243
1244 =item Thread::Signal
1245
1246 Start a thread which runs signal handlers reliably (for old code)
1247
1248 =item Thread::Specific
1249
1250 Thread-specific keys
1251
1252 =item Tie::Array
1253
1254 Base class for tied arrays
1255
1256 =item Tie::File
1257
1258 Access the lines of a disk file via a Perl array
1259
1260 =item Tie::Handle
1261
1262 Base class definitions for tied handles
1263
1264 =item Tie::Hash
1265
1266 Base class definitions for tied hashes
1267
1268 =item Tie::Memoize
1269
1270 Add data to hash when needed
1271
1272 =item Tie::RefHash
1273
1274 Use references as hash keys
1275
1276 =item Tie::Scalar
1277
1278 Base class definitions for tied scalars
1279
1280 =item Tie::SubstrHash
1281
1282 Fixed-table-size, fixed-key-length hashing
1283
1284 =item Time::HiRes
1285
1286 High resolution alarm, sleep, gettimeofday, interval timers
1287
1288 =item Time::Local
1289
1290 Efficiently compute time from local and GMT time
1291
1292 =item Time::gmtime
1293
1294 By-name interface to Perl's built-in gmtime() function
1295
1296 =item Time::localtime
1297
1298 By-name interface to Perl's built-in localtime() function
1299
1300 =item Time::tm
1301
1302 Internal object used by Time::gmtime and Time::localtime
1303
1304 =item UNIVERSAL
1305
1306 Base class for ALL classes (blessed references)
1307
1308 =item Unicode::Collate
1309
1310 Unicode Collation Algorithm
1311
1312 =item Unicode::Normalize
1313
1314 Unicode Normalization Forms
1315
1316 =item Unicode::UCD
1317
1318 Unicode character database
1319
1320 =item User::grent
1321
1322 By-name interface to Perl's built-in getgr*() functions
1323
1324 =item User::pwent
1325
1326 By-name interface to Perl's built-in getpw*() functions
1327
1328 =item Win32
1329
1330 Interfaces to some Win32 API Functions
1331
1332 =item XS::APItest
1333
1334 Test the perl C API
1335
1336 =item XS::Typemap
1337
1338 Module to test the XS typemaps distributed with perl
1339
1340 =item XSLoader
1341
1342 Dynamically load C libraries into Perl code
1343
1344 =back
1345
1346 To find out I<all> modules installed on your system, including
1347 those without documentation or outside the standard release,
1348 just do this:
1349
1350     % find `perl -Te 'print "@INC"'` -name '*.pm' -print
1351
1352 (The -T is here to prevent '.' from being listed in @INC.)
1353 They should all have their own documentation installed and accessible
1354 via your system man(1) command.  If you do not have a B<find>
1355 program, you can use the Perl B<find2perl> program instead, which
1356 generates Perl code as output you can run through perl.  If you
1357 have a B<man> program but it doesn't find your modules, you'll have
1358 to fix your manpath.  See L<perl> for details.  If you have no
1359 system B<man> command, you might try the B<perldoc> program.
1360
1361 Note also that the command C<perldoc perllocal> gives you a (possibly
1362 incomplete) list of the modules that have been further installed on
1363 your system. (The perllocal.pod file is updated by the standard MakeMaker
1364 install process.)
1365
1366 =head2 Extension Modules
1367
1368 Extension modules are written in C (or a mix of Perl and C).  They
1369 are usually dynamically loaded into Perl if and when you need them,
1370 but may also be linked in statically.  Supported extension modules
1371 include Socket, Fcntl, and POSIX.
1372
1373 Many popular C extension modules do not come bundled (at least, not
1374 completely) due to their sizes, volatility, or simply lack of time
1375 for adequate testing and configuration across the multitude of
1376 platforms on which Perl was beta-tested.  You are encouraged to
1377 look for them on CPAN (described below), or using web search engines
1378 like Alta Vista or Google.
1379
1380 =head1 CPAN
1381
1382 CPAN stands for Comprehensive Perl Archive Network; it's a globally
1383 replicated trove of Perl materials, including documentation, style
1384 guides, tricks and traps, alternate ports to non-Unix systems and
1385 occasional binary distributions for these.   Search engines for
1386 CPAN can be found at http://www.cpan.org/
1387
1388 Most importantly, CPAN includes around a thousand unbundled modules,
1389 some of which require a C compiler to build.  Major categories of
1390 modules are:
1391
1392 =over
1393
1394 =item *
1395
1396 Language Extensions and Documentation Tools
1397
1398 =item *
1399
1400 Development Support
1401
1402 =item *
1403
1404 Operating System Interfaces
1405
1406 =item *
1407
1408 Networking, Device Control (modems) and InterProcess Communication
1409
1410 =item *
1411
1412 Data Types and Data Type Utilities
1413
1414 =item *
1415
1416 Database Interfaces
1417
1418 =item *
1419
1420 User Interfaces
1421
1422 =item *
1423
1424 Interfaces to / Emulations of Other Programming Languages
1425
1426 =item *
1427
1428 File Names, File Systems and File Locking (see also File Handles)
1429
1430 =item *
1431
1432 String Processing, Language Text Processing, Parsing, and Searching
1433
1434 =item *
1435
1436 Option, Argument, Parameter, and Configuration File Processing
1437
1438 =item *
1439
1440 Internationalization and Locale
1441
1442 =item *
1443
1444 Authentication, Security, and Encryption
1445
1446 =item *
1447
1448 World Wide Web, HTML, HTTP, CGI, MIME
1449
1450 =item *
1451
1452 Server and Daemon Utilities
1453
1454 =item *
1455
1456 Archiving and Compression
1457
1458 =item *
1459
1460 Images, Pixmap and Bitmap Manipulation, Drawing, and Graphing
1461
1462 =item *
1463
1464 Mail and Usenet News
1465
1466 =item *
1467
1468 Control Flow Utilities (callbacks and exceptions etc)
1469
1470 =item *
1471
1472 File Handle and Input/Output Stream Utilities
1473
1474 =item *
1475
1476 Miscellaneous Modules
1477
1478 =back
1479
1480 The list of the registered CPAN sites as of this writing follows.
1481 Please note that the sorting order is alphabetical on fields:
1482
1483 Continent
1484    |
1485    |-->Country
1486          |
1487          |-->[state/province]
1488                    |
1489                    |-->ftp
1490                    |
1491                    |-->[http]
1492
1493 and thus the North American servers happen to be listed between the
1494 European and the South American sites.
1495
1496 You should try to choose one close to you.
1497
1498 =head2 Africa
1499
1500 =over 4
1501
1502 =item South Africa
1503
1504                       ftp://ftp.is.co.za/programming/perl/CPAN/
1505                       ftp://ftp.mweb.co.za/pub/mirrors/cpan/
1506                       ftp://ftp.saix.net/pub/CPAN/
1507                       ftp://ftp.sun.ac.za/CPAN/CPAN/
1508
1509 =back
1510
1511 =head2 Asia
1512
1513 =over 4
1514
1515 =item China
1516
1517                       ftp://freesoft.cei.gov.cn/pub/languages/perl/CPAN/
1518                       http://www2.linuxforum.net/mirror/CPAN/
1519                       http://cpan.shellhung.org/
1520                       ftp://ftp.shellhung.org/pub/CPAN
1521
1522 =item India
1523
1524                       http://cpan.in.freeos.com
1525                       ftp://cpan.in.freeos.com/pub/CPAN/
1526
1527 =item Indonesia
1528
1529                       http://cpan.itb.web.id/
1530                       ftp://mirrors.piksi.itb.ac.id/CPAN/
1531                       http://cpan.cbn.net.id/
1532                       ftp://ftp.cbn.net.id/mirror/CPAN
1533                       http://CPAN.mweb.co.id/
1534                       ftp://ftp.mweb.co.id/pub/languages/perl/CPAN/
1535
1536 =item Israel
1537
1538                       http://www.iglu.org.il:/pub/CPAN/
1539                       ftp://ftp.iglu.org.il/pub/CPAN/
1540                       http://cpan.lerner.co.il/
1541                       http://bioinfo.weizmann.ac.il/pub/software/perl/CPAN/
1542                       ftp://bioinfo.weizmann.ac.il/pub/software/perl/CPAN/
1543
1544 =item Japan
1545
1546                       ftp://ftp.u-aizu.ac.jp/pub/CPAN
1547                       ftp://ftp.kddlabs.co.jp/CPAN/
1548                       http://mirror.nucba.ac.jp/mirror/Perl/
1549                       ftp://mirror.nucba.ac.jp/mirror/Perl/
1550                       ftp://ftp.meisei-u.ac.jp/pub/CPAN/
1551                       ftp://ftp.ayamura.org/pub/CPAN/
1552                       ftp://ftp.jaist.ac.jp/pub/lang/perl/CPAN/
1553                       ftp://ftp.dti.ad.jp/pub/lang/CPAN/
1554                       ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/
1555
1556 =item Korea
1557
1558                       http://mirror.Mazic.org/pub/CPAN
1559                       ftp://mirror.Mazic.org/pub/CPAN
1560
1561 =item Philippines
1562
1563                       http://www.adzu.edu.ph/CPAN
1564
1565 =item Russian Federation
1566
1567                       http://cpan.tomsk.ru
1568                       ftp://cpan.tomsk.ru/pub/CPAN
1569
1570 =item Saudi Arabia
1571
1572                       ftp://ftp.isu.net.sa/pub/CPAN/
1573
1574 =item Singapore
1575
1576                       http://cpan.hjc.edu.sg
1577                       http://mirror.averse.net/pub/CPAN
1578                       ftp://mirror.averse.net/pub/CPAN
1579
1580 =item South Korea
1581
1582                       http://CPAN.bora.net/
1583                       ftp://ftp.bora.net/pub/CPAN/
1584                       http://ftp.kornet.net/pub/CPAN/
1585                       ftp://ftp.kornet.net/pub/CPAN/
1586                       ftp://ftp.nuri.net/pub/CPAN/
1587                       http://ftp.xgate.co.kr/cpan/
1588                       ftp://ftp.xgate.co.kr/pub/mirror/CPAN
1589
1590 =item Taiwan
1591
1592                       ftp://ftp.nctu.edu.tw/UNIX/perl/CPAN
1593                       ftp://ftp.ee.ncku.edu.tw/pub/perl/CPAN/
1594                       ftp://ftp1.sinica.edu.tw/pub1/perl/CPAN/
1595                       http://ftp.tku.edu.tw/pub/CPAN/
1596                       ftp://ftp.tku.edu.tw/pub/CPAN/
1597
1598 =item Thailand
1599
1600                       ftp://ftp.loxinfo.co.th/pub/cpan/
1601                       ftp://ftp.cs.riubon.ac.th/pub/mirrors/CPAN/
1602
1603 =back
1604
1605 =head2 Central America
1606
1607 =over 4
1608
1609 =item Costa Rica
1610
1611                       ftp://ftp.linux.co.cr/mirrors/CPAN/
1612                       http://ftp.ucr.ac.cr/Unix/CPAN/
1613                       ftp://ftp.ucr.ac.cr/pub/Unix/CPAN/
1614
1615 =back
1616
1617 =head2 Europe
1618
1619 =over 4
1620
1621 =item Austria
1622
1623                       ftp://ftp.tuwien.ac.at/pub/CPAN/
1624
1625 =item Belgium
1626
1627                       http://ftp.easynet.be/pub/CPAN/
1628                       ftp://ftp.easynet.be/pub/CPAN/
1629                       http://cpan.skynet.be
1630                       ftp://ftp.skynet.be/pub/CPAN
1631                       ftp://ftp.kulnet.kuleuven.ac.be/pub/mirror/CPAN/
1632
1633 =item Bulgaria
1634
1635                       http://cpan.lirex.net/
1636                       ftp://ftp.lirex.net/pub/mirrors/CPAN
1637
1638 =item Croatia
1639
1640                       http://ftp.linux.hr/pub/CPAN/
1641                       ftp://ftp.linux.hr/pub/CPAN/
1642
1643 =item Czech Republic
1644
1645                       http://ftp.fi.muni.cz/pub/CPAN/
1646                       ftp://ftp.fi.muni.cz/pub/CPAN/
1647                       ftp://sunsite.mff.cuni.cz/MIRRORS/ftp.funet.fi/pub/languages/perl/CPAN/
1648
1649 =item Denmark
1650
1651                       http://mirrors.sunsite.dk/cpan/
1652                       ftp://sunsite.dk/mirrors/cpan/
1653                       http://cpan.cybercity.dk
1654                       http://www.cpan.dk/CPAN/
1655                       ftp://www.cpan.dk/ftp.cpan.org/CPAN/
1656
1657 =item Estonia
1658
1659                       ftp://ftp.ut.ee/pub/languages/perl/CPAN/
1660
1661 =item Finland
1662
1663                       ftp://ftp.funet.fi/pub/languages/perl/CPAN/
1664                       http://cpan.kpnqwest.fi/
1665
1666 =item France
1667
1668                       http://ftp.u-paris10.fr/perl/CPAN
1669                       ftp://ftp.u-paris10.fr/perl/CPAN
1670                       http://cpan.mirrors.easynet.fr/
1671                       ftp://cpan.mirrors.easynet.fr/pub/ftp.cpan.org/
1672                       ftp://ftp.club-internet.fr/pub/perl/CPAN/
1673                       http://fr.cpan.org/
1674                       ftp://ftp.lip6.fr/pub/perl/CPAN/
1675                       ftp://ftp.oleane.net/pub/mirrors/CPAN/
1676                       ftp://ftp.pasteur.fr/pub/computing/CPAN/
1677                       http://mir2.ovh.net/ftp.cpan.org
1678                       ftp://mir1.ovh.net/ftp.cpan.org
1679                       http://ftp.u-strasbg.fr/CPAN
1680                       ftp://ftp.u-strasbg.fr/CPAN
1681                       http://cpan.cict.fr/
1682                       ftp://cpan.cict.fr/pub/CPAN/
1683                       ftp://ftp.uvsq.fr/pub/perl/CPAN/
1684
1685 =item Germany
1686
1687                       ftp://ftp.rz.ruhr-uni-bochum.de/pub/CPAN/
1688                       ftp://ftp.freenet.de/pub/ftp.cpan.org/pub/CPAN/
1689                       ftp://ftp.uni-erlangen.de/pub/source/CPAN/
1690                       ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/CPAN
1691                       http://pandemonium.tiscali.de/pub/CPAN/
1692                       ftp://pandemonium.tiscali.de/pub/CPAN/
1693                       http://ftp.gwdg.de/pub/languages/perl/CPAN/
1694                       ftp://ftp.gwdg.de/pub/languages/perl/CPAN/
1695                       ftp://ftp.uni-hamburg.de/pub/soft/lang/perl/CPAN/
1696                       ftp://ftp.leo.org/pub/CPAN/
1697                       http://cpan.noris.de/
1698                       ftp://cpan.noris.de/pub/CPAN/
1699                       ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/
1700                       ftp://ftp.gmd.de/mirrors/CPAN/
1701
1702 =item Greece
1703
1704                       ftp://ftp.acn.gr/pub/lang/perl/CPAN
1705                       ftp://ftp.forthnet.gr/pub/languages/perl/CPAN
1706                       ftp://ftp.ntua.gr/pub/lang/perl/
1707
1708 =item Hungary
1709
1710                       http://cpan.artifact.hu/
1711                       ftp://cpan.artifact.hu/CPAN/
1712                       http://ftp.kfki.hu/packages/perl/CPAN/
1713                       ftp://ftp.kfki.hu/pub/packages/perl/CPAN/
1714
1715 =item Iceland
1716
1717                       http://ftp.rhnet.is/pub/CPAN/
1718                       ftp://ftp.rhnet.is/pub/CPAN/
1719
1720 =item Ireland
1721
1722                       http://cpan.indigo.ie/
1723                       ftp://cpan.indigo.ie/pub/CPAN/
1724                       http://sunsite.compapp.dcu.ie/pub/perl/
1725                       ftp://sunsite.compapp.dcu.ie/pub/perl/
1726
1727 =item Italy
1728
1729                       http://cpan.nettuno.it/
1730                       http://gusp.dyndns.org/CPAN/
1731                       ftp://gusp.dyndns.org/pub/CPAN
1732                       http://softcity.iol.it/cpan
1733                       ftp://softcity.iol.it/pub/cpan
1734                       ftp://ftp.unina.it/pub/Other/CPAN/CPAN/
1735                       ftp://ftp.unipi.it/pub/mirror/perl/CPAN/
1736                       ftp://cis.uniRoma2.it/CPAN/
1737                       ftp://ftp.edisontel.it/pub/CPAN_Mirror/
1738                       ftp://ftp.flashnet.it/pub/CPAN/
1739
1740 =item Latvia
1741
1742                       http://kvin.lv/pub/CPAN/
1743
1744 =item Lithuania
1745
1746                       ftp://ftp.unix.lt/pub/CPAN/
1747
1748 =item Netherlands
1749
1750                       ftp://download.xs4all.nl/pub/mirror/CPAN/
1751                       ftp://ftp.nl.uu.net/pub/CPAN/
1752                       ftp://ftp.nluug.nl/pub/languages/perl/CPAN/
1753                       http://cpan.cybercomm.nl/
1754                       ftp://mirror.cybercomm.nl/pub/CPAN
1755                       ftp://ftp.cpan.nl/pub/CPAN/
1756                       http://ftp.easynet.nl/mirror/CPAN
1757                       ftp://ftp.easynet.nl/mirror/CPAN
1758                       http://archive.cs.uu.nl/mirror/CPAN/
1759                       ftp://ftp.cs.uu.nl/mirror/CPAN/
1760
1761 =item Norway
1762
1763                       ftp://ftp.uninett.no/pub/languages/perl/CPAN
1764                       ftp://ftp.uit.no/pub/languages/perl/cpan/
1765
1766 =item Poland
1767
1768                       ftp://ftp.pk.edu.pl/pub/lang/perl/CPAN/
1769                       ftp://ftp.mega.net.pl/pub/mirrors/ftp.perl.com/
1770                       ftp://ftp.man.torun.pl/pub/doc/CPAN/
1771                       ftp://sunsite.icm.edu.pl/pub/CPAN/
1772
1773 =item Portugal
1774
1775                       ftp://ftp.ua.pt/pub/CPAN/
1776                       ftp://perl.di.uminho.pt/pub/CPAN/
1777                       http://cpan.dei.uc.pt/
1778                       ftp://ftp.dei.uc.pt/pub/CPAN
1779                       ftp://ftp.ist.utl.pt/pub/CPAN/
1780                       http://cpan.ip.pt/
1781                       ftp://cpan.ip.pt/pub/cpan/
1782                       ftp://ftp.netc.pt/pub/CPAN/
1783                       ftp://ftp.up.pt/pub/CPAN
1784
1785 =item Romania
1786
1787                       ftp://ftp.kappa.ro/pub/mirrors/ftp.perl.org/pub/CPAN/
1788                       ftp://ftp.dntis.ro/pub/cpan/
1789                       ftp://ftp.dnttm.ro/pub/CPAN/
1790                       ftp://ftp.lasting.ro/pub/CPAN
1791                       ftp://ftp.timisoara.roedu.net/mirrors/CPAN/
1792
1793 =item Russia
1794
1795                       ftp://ftp.chg.ru/pub/lang/perl/CPAN/
1796                       http://cpan.rinet.ru/
1797                       ftp://cpan.rinet.ru/pub/mirror/CPAN/
1798                       ftp://ftp.aha.ru/pub/CPAN/
1799                       http://cpan.sai.msu.ru/
1800                       ftp://ftp.sai.msu.su/pub/lang/perl/CPAN/
1801
1802 =item Slovakia
1803
1804                       http://ftp.cvt.stuba.sk/pub/CPAN/
1805                       ftp://ftp.cvt.stuba.sk/pub/CPAN/
1806
1807 =item Slovenia
1808
1809                       ftp://ftp.arnes.si/software/perl/CPAN/
1810
1811 =item Spain
1812
1813                       http://cpan.imasd.elmundo.es/
1814                       ftp://ftp.rediris.es/mirror/CPAN/
1815                       ftp://ftp.etse.urv.es/pub/perl/
1816
1817 =item Sweden
1818
1819                       http://ftp.du.se/CPAN/
1820                       ftp://ftp.du.se/pub/CPAN/
1821                       ftp://mirror.dataphone.se/pub/CPAN
1822                       ftp://ftp.sunet.se/pub/lang/perl/CPAN/
1823
1824 =item Switzerland
1825
1826                       ftp://ftp.danyk.ch/CPAN/
1827                       ftp://sunsite.cnlab-switch.ch/mirror/CPAN/
1828
1829 =item Turkey
1830
1831                       http://ftp.ulak.net.tr/perl/CPAN/
1832                       ftp://ftp.ulak.net.tr/perl/CPAN
1833                       ftp://sunsite.bilkent.edu.tr/pub/languages/CPAN/
1834
1835 =item Ukraine
1836
1837                       http://cpan.org.ua/
1838                       ftp://cpan.org.ua/
1839                       ftp://ftp.perl.org.ua/pub/CPAN/
1840
1841 =item United Kingdom
1842
1843                       http://www.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN
1844                       ftp://ftp.mirror.ac.uk/sites/ftp.funet.fi/pub/languages/perl/CPAN/
1845                       http://cpan.teleglobe.net/
1846                       ftp://cpan.teleglobe.net/pub/CPAN
1847                       http://cpan.crazygreek.co.uk
1848                       ftp://ftp.demon.co.uk/pub/CPAN/
1849                       http://cpan.m.flirble.org/
1850                       ftp://ftp.flirble.org/pub/languages/perl/CPAN/
1851                       ftp://ftp.plig.org/pub/CPAN/
1852                       http://mirror.uklinux.net/CPAN/
1853                       ftp://mirror.uklinux.net/pub/CPAN/
1854                       http://cpan.mirrors.clockerz.net/
1855                       ftp://ftp.clockerz.net/pub/CPAN/
1856                       ftp://usit.shef.ac.uk/pub/packages/CPAN/
1857
1858 =back
1859
1860 =head2 North America
1861
1862 =over 4
1863
1864 =item Alberta
1865
1866                       http://sunsite.ualberta.ca/pub/Mirror/CPAN/
1867                       ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/
1868
1869 =item Manitoba
1870
1871                       http://theoryx5.uwinnipeg.ca/pub/CPAN/
1872                       ftp://theoryx5.uwinnipeg.ca/pub/CPAN/
1873
1874 =item Nova Scotia
1875
1876                       ftp://cpan.chebucto.ns.ca/pub/CPAN/
1877
1878 =item Ontario
1879
1880                       ftp://ftp.crc.ca/pub/CPAN/
1881
1882 =item Quebec
1883
1884                       http://cpan.mirror.smartworker.org/
1885
1886 =item Mexico
1887
1888                       http://cpan.azc.uam.mx
1889                       ftp://cpan.azc.uam.mx/mirrors/CPAN
1890                       http://cpan.unam.mx/
1891                       ftp://cpan.unam.mx/pub/CPAN
1892                       http://www.msg.com.mx/CPAN/
1893                       ftp://ftp.msg.com.mx/pub/CPAN/
1894
1895 =back
1896
1897 =head2 United States
1898
1899 =over 4
1900
1901 =item Alabama
1902
1903                       http://mirror.hiwaay.net/CPAN/
1904                       ftp://mirror.hiwaay.net/CPAN/
1905
1906 =item California
1907
1908                       http://cpan.develooper.com/
1909                       http://www.cpan.org/
1910                       ftp://cpan.valueclick.com/pub/CPAN/
1911                       http://mirrors.gossamer-threads.com/CPAN
1912                       ftp://cpan.nas.nasa.gov/pub/perl/CPAN/
1913                       http://mirrors.kernel.org/cpan/
1914                       ftp://mirrors.kernel.org/pub/CPAN
1915                       http://cpan.digisle.net/
1916                       ftp://cpan.digisle.net/pub/CPAN
1917                       http://www.perl.com/CPAN/
1918                       http://download.sourceforge.net/mirrors/CPAN/
1919
1920 =item Colorado
1921
1922                       ftp://ftp.cs.colorado.edu/pub/perl/CPAN/
1923
1924 =item Delaware
1925
1926                       http://ftp.lug.udel.edu/pub/CPAN
1927                       ftp://ftp.lug.udel.edu/pub/CPAN
1928
1929 =item District of Columbia
1930
1931                       ftp://ftp.dc.aleron.net/pub/CPAN/
1932
1933 =item Florida
1934
1935                       ftp://ftp.cise.ufl.edu/pub/mirrors/CPAN/
1936                       http://mirror.csit.fsu.edu/pub/CPAN/
1937                       ftp://mirror.csit.fsu.edu/pub/CPAN/
1938                       http://cpan.mirrors.nks.net/
1939
1940 =item Illinois
1941
1942                       http://uiarchive.uiuc.edu/mirrors/ftp/cpan.cse.msu.edu/
1943                       ftp://uiarchive.uiuc.edu/mirrors/ftp/cpan.cse.msu.edu/
1944
1945 =item Indiana
1946
1947                       ftp://ftp.uwsg.iu.edu/pub/perl/CPAN/
1948                       http://cpan.netnitco.net/
1949                       ftp://cpan.netnitco.net/pub/mirrors/CPAN/
1950                       http://archive.progeny.com/CPAN/
1951                       ftp://archive.progeny.com/CPAN/
1952                       ftp://cpan.in-span.net/
1953                       http://csociety-ftp.ecn.purdue.edu/pub/CPAN
1954                       ftp://csociety-ftp.ecn.purdue.edu/pub/CPAN
1955
1956 =item Kentucky
1957
1958                       http://cpan.uky.edu/
1959                       ftp://cpan.uky.edu/pub/CPAN/
1960
1961 =item Massachusetts
1962
1963                       ftp://ftp.ccs.neu.edu/net/mirrors/ftp.funet.fi/pub/languages/perl/CPAN/
1964                       http://cpan.mirrors.netnumina.com/
1965                       ftp://mirrors.netnumina.com/cpan/
1966
1967 =item Michigan
1968
1969                       ftp://cpan.cse.msu.edu/
1970
1971 =item New Jersey
1972
1973                       ftp://ftp.cpanel.net/pub/CPAN/
1974                       http://cpan.teleglobe.net/
1975                       ftp://cpan.teleglobe.net/pub/CPAN
1976
1977 =item New York
1978
1979                       ftp://ftp.exobit.org/pub/perl/CPAN
1980                       http://cpan.belfry.net/
1981                       http://cpan.thepirtgroup.com/
1982                       ftp://cpan.thepirtgroup.com/
1983                       ftp://ftp.stealth.net/pub/CPAN/
1984                       http://www.rge.com/pub/languages/perl/
1985                       ftp://ftp.rge.com/pub/languages/perl/
1986                       ftp://mirrors.cloud9.net/pub/mirrors/CPAN/
1987
1988 =item North Carolina
1989
1990                       ftp://ftp.duke.edu/pub/perl/
1991
1992 =item Ohio
1993
1994                       ftp://ftp.loaded.net/pub/CPAN/
1995
1996 =item Oklahoma
1997
1998                       ftp://ftp.ou.edu/mirrors/CPAN/
1999
2000 =item Oregon
2001
2002                       ftp://ftp.orst.edu/pub/CPAN
2003
2004 =item Pennsylvania
2005
2006                       http://ftp.epix.net/CPAN/
2007                       ftp://ftp.epix.net/pub/languages/perl/
2008                       http://mirrors.phenominet.com/pub/CPAN/
2009                       ftp://mirrors.phenominet.com/pub/CPAN/
2010                       http://cpan.pair.com/
2011                       ftp://cpan.pair.com/pub/CPAN/
2012                       ftp://carroll.cac.psu.edu/pub/CPAN/
2013
2014 =item Tennessee
2015
2016                       ftp://ftp.sunsite.utk.edu/pub/CPAN/
2017
2018 =item Texas
2019
2020                       http://ftp.sedl.org/pub/mirrors/CPAN/
2021                       ftp://mirror.telentente.com/pub/CPAN
2022
2023 =item Utah
2024
2025                       ftp://mirror.xmission.com/CPAN/
2026
2027 =item Virginia
2028
2029                       http://mirrors.rcn.net/pub/lang/CPAN/
2030                       ftp://mirrors.rcn.net/pub/lang/CPAN/
2031                       http://perl.secsup.org/
2032                       ftp://perl.secsup.org/pub/perl/
2033                       http://mirrors.phihost.com/CPAN/
2034                       ftp://mirrors.phihost.com/CPAN/
2035                       ftp://ruff.cs.jmu.edu/pub/CPAN/
2036                       http://perl.Liquidation.com/CPAN/
2037
2038 =item ashington
2039
2040                       http://cpan.llarian.net/
2041                       ftp://cpan.llarian.net/pub/CPAN/
2042                       http://cpan.mirrorcentral.com/
2043                       ftp://ftp.mirrorcentral.com/pub/CPAN/
2044                       ftp://ftp-mirror.internap.com/pub/CPAN/
2045
2046 =item Wisconsin
2047
2048                       http://mirror.sit.wisc.edu/pub/CPAN/
2049                       ftp://mirror.sit.wisc.edu/pub/CPAN/
2050
2051 =back
2052
2053 =head2 Oceania
2054
2055 =over 4
2056
2057 =item Australia
2058
2059                       http://ftp.planetmirror.com/pub/CPAN/
2060                       ftp://ftp.planetmirror.com/pub/CPAN/
2061                       ftp://mirror.aarnet.edu.au/pub/perl/CPAN/
2062                       ftp://cpan.topend.com.au/pub/CPAN/
2063
2064 =item New Zealand
2065
2066                       ftp://ftp.auckland.ac.nz/pub/perl/CPAN/
2067                       http://cpan.soa.co.nz/CPAN/
2068
2069 =back
2070
2071 =head2 South America
2072
2073 =over 4
2074
2075 =item Argentina
2076
2077                       ftp://mirrors.bannerlandia.com.ar/mirrors/CPAN/
2078                       http://ftp.fcaglp.unlp.edu.ar/pub/CPAN/
2079                       ftp://ftp.fcaglp.unlp.edu.ar/pub/CPAN/
2080
2081 =item Brazil
2082
2083                       ftp://cpan.pop-mg.com.br/pub/CPAN/
2084                       ftp://ftp.matrix.com.br/pub/perl/CPAN/
2085
2086 =item Chile
2087
2088                       http://cpan.netglobalis.net/
2089                       ftp://cpan.netglobalis.net/pub/CPAN/
2090
2091 =back
2092
2093 =head2 RSYNC Mirrors
2094
2095                       ftp.fcaglp.unlp.edu.ar::CPAN
2096                       cpan.mirror.smartworker.org::CPAN
2097                       theoryx5.uwinnipeg.ca::CPAN
2098                       ftp.shellhung.org::CPAN
2099                       ftp.funet.fi::CPAN
2100                       ftp.u-paris10.fr::CPAN
2101                       mir1.ovh.net::CPAN
2102                       ftp.gwdg.de::FTP/languages/perl/CPAN/
2103                       ftp.leo.org::CPAN
2104                       CPAN.piksi.itb.ac.id::CPAN
2105                       ftp.cbn.net.id::CPAN
2106                       ftp.iglu.org.il::CPAN
2107                       gusp.dyndns.org::cpan
2108                       ftp.kddlabs.co.jp::cpan
2109                       ftp.ayamura.org::pub/CPAN/
2110                       mirror.averse.net::cpan
2111                       cpan.teleglobe.net::CPAN
2112                       ftp.sedl.org::cpan
2113                       archive.progeny.com::CPAN
2114                       cpan.teleglobe.net::CPAN
2115                       ftp.lug.udel.edu::cpan
2116                       mirrors.kernel.org::mirrors/CPAN
2117                       mirrors.phenominet.com::CPAN
2118                       mirror.csit.fsu.edu::CPAN
2119                       csociety-ftp.ecn.purdue.edu::CPAN
2120
2121 For an up-to-date listing of CPAN sites,
2122 see http://www.cpan.org/SITES or ftp://www.cpan.org/SITES .
2123
2124 =head1 Modules: Creation, Use, and Abuse
2125
2126 (The following section is borrowed directly from Tim Bunce's modules
2127 file, available at your nearest CPAN site.)
2128
2129 Perl implements a class using a package, but the presence of a
2130 package doesn't imply the presence of a class.  A package is just a
2131 namespace.  A class is a package that provides subroutines that can be
2132 used as methods.  A method is just a subroutine that expects, as its
2133 first argument, either the name of a package (for "static" methods),
2134 or a reference to something (for "virtual" methods).
2135
2136 A module is a file that (by convention) provides a class of the same
2137 name (sans the .pm), plus an import method in that class that can be
2138 called to fetch exported symbols.  This module may implement some of
2139 its methods by loading dynamic C or C++ objects, but that should be
2140 totally transparent to the user of the module.  Likewise, the module
2141 might set up an AUTOLOAD function to slurp in subroutine definitions on
2142 demand, but this is also transparent.  Only the F<.pm> file is required to
2143 exist.  See L<perlsub>, L<perltoot>, and L<AutoLoader> for details about
2144 the AUTOLOAD mechanism.
2145
2146 =head2 Guidelines for Module Creation
2147
2148 =over 4
2149
2150 =item  *
2151
2152 Do similar modules already exist in some form?
2153
2154 If so, please try to reuse the existing modules either in whole or
2155 by inheriting useful features into a new class.  If this is not
2156 practical try to get together with the module authors to work on
2157 extending or enhancing the functionality of the existing modules.
2158 A perfect example is the plethora of packages in perl4 for dealing
2159 with command line options.
2160
2161 If you are writing a module to expand an already existing set of
2162 modules, please coordinate with the author of the package.  It
2163 helps if you follow the same naming scheme and module interaction
2164 scheme as the original author.
2165
2166 =item  *
2167
2168 Try to design the new module to be easy to extend and reuse.
2169
2170 Try to C<use warnings;> (or C<use warnings qw(...);>).
2171 Remember that you can add C<no warnings qw(...);> to individual blocks
2172 of code that need less warnings.
2173
2174 Use blessed references.  Use the two argument form of bless to bless
2175 into the class name given as the first parameter of the constructor,
2176 e.g.,:
2177
2178  sub new {
2179      my $class = shift;
2180      return bless {}, $class;
2181  }
2182
2183 or even this if you'd like it to be used as either a static
2184 or a virtual method.
2185
2186  sub new {
2187      my $self  = shift;
2188      my $class = ref($self) || $self;
2189      return bless {}, $class;
2190  }
2191
2192 Pass arrays as references so more parameters can be added later
2193 (it's also faster).  Convert functions into methods where
2194 appropriate.  Split large methods into smaller more flexible ones.
2195 Inherit methods from other modules if appropriate.
2196
2197 Avoid class name tests like: C<die "Invalid" unless ref $ref eq 'FOO'>.
2198 Generally you can delete the C<eq 'FOO'> part with no harm at all.
2199 Let the objects look after themselves! Generally, avoid hard-wired
2200 class names as far as possible.
2201
2202 Avoid C<< $r->Class::func() >> where using C<@ISA=qw(... Class ...)> and
2203 C<< $r->func() >> would work (see L<perlbot> for more details).
2204
2205 Use autosplit so little used or newly added functions won't be a
2206 burden to programs that don't use them. Add test functions to
2207 the module after __END__ either using AutoSplit or by saying:
2208
2209  eval join('',<main::DATA>) || die $@ unless caller();
2210
2211 Does your module pass the 'empty subclass' test? If you say
2212 C<@SUBCLASS::ISA = qw(YOURCLASS);> your applications should be able
2213 to use SUBCLASS in exactly the same way as YOURCLASS.  For example,
2214 does your application still work if you change:  C<$obj = new YOURCLASS;>
2215 into: C<$obj = new SUBCLASS;> ?
2216
2217 Avoid keeping any state information in your packages. It makes it
2218 difficult for multiple other packages to use yours. Keep state
2219 information in objects.
2220
2221 Always use B<-w>.
2222
2223 Try to C<use strict;> (or C<use strict qw(...);>).
2224 Remember that you can add C<no strict qw(...);> to individual blocks
2225 of code that need less strictness.
2226
2227 Always use B<-w>.
2228
2229 Follow the guidelines in the perlstyle(1) manual.
2230
2231 Always use B<-w>.
2232
2233 =item  *
2234
2235 Some simple style guidelines
2236
2237 The perlstyle manual supplied with Perl has many helpful points.
2238
2239 Coding style is a matter of personal taste. Many people evolve their
2240 style over several years as they learn what helps them write and
2241 maintain good code.  Here's one set of assorted suggestions that
2242 seem to be widely used by experienced developers:
2243
2244 Use underscores to separate words.  It is generally easier to read
2245 $var_names_like_this than $VarNamesLikeThis, especially for
2246 non-native speakers of English. It's also a simple rule that works
2247 consistently with VAR_NAMES_LIKE_THIS.
2248
2249 Package/Module names are an exception to this rule. Perl informally
2250 reserves lowercase module names for 'pragma' modules like integer
2251 and strict. Other modules normally begin with a capital letter and
2252 use mixed case with no underscores (need to be short and portable).
2253
2254 You may find it helpful to use letter case to indicate the scope
2255 or nature of a variable. For example:
2256
2257  $ALL_CAPS_HERE   constants only (beware clashes with Perl vars)
2258  $Some_Caps_Here  package-wide global/static
2259  $no_caps_here    function scope my() or local() variables
2260
2261 Function and method names seem to work best as all lowercase.
2262 e.g., C<< $obj->as_string() >>.
2263
2264 You can use a leading underscore to indicate that a variable or
2265 function should not be used outside the package that defined it.
2266
2267 =item  *
2268
2269 Select what to export.
2270
2271 Do NOT export method names!
2272
2273 Do NOT export anything else by default without a good reason!
2274
2275 Exports pollute the namespace of the module user.  If you must
2276 export try to use @EXPORT_OK in preference to @EXPORT and avoid
2277 short or common names to reduce the risk of name clashes.
2278
2279 Generally anything not exported is still accessible from outside the
2280 module using the ModuleName::item_name (or C<< $blessed_ref->method >>)
2281 syntax.  By convention you can use a leading underscore on names to
2282 indicate informally that they are 'internal' and not for public use.
2283
2284 (It is actually possible to get private functions by saying:
2285 C<my $subref = sub { ... };  &$subref;>.  But there's no way to call that
2286 directly as a method, because a method must have a name in the symbol
2287 table.)
2288
2289 As a general rule, if the module is trying to be object oriented
2290 then export nothing. If it's just a collection of functions then
2291 @EXPORT_OK anything but use @EXPORT with caution.
2292
2293 =item  *
2294
2295 Select a name for the module.
2296
2297 This name should be as descriptive, accurate, and complete as
2298 possible.  Avoid any risk of ambiguity. Always try to use two or
2299 more whole words.  Generally the name should reflect what is special
2300 about what the module does rather than how it does it.  Please use
2301 nested module names to group informally or categorize a module.
2302 There should be a very good reason for a module not to have a nested name.
2303 Module names should begin with a capital letter.
2304
2305 Having 57 modules all called Sort will not make life easy for anyone
2306 (though having 23 called Sort::Quick is only marginally better :-).
2307 Imagine someone trying to install your module alongside many others.
2308 If in any doubt ask for suggestions in comp.lang.perl.misc.
2309
2310 If you are developing a suite of related modules/classes it's good
2311 practice to use nested classes with a common prefix as this will
2312 avoid namespace clashes. For example: Xyz::Control, Xyz::View,
2313 Xyz::Model etc. Use the modules in this list as a naming guide.
2314
2315 If adding a new module to a set, follow the original author's
2316 standards for naming modules and the interface to methods in
2317 those modules.
2318
2319 If developing modules for private internal or project specific use,
2320 that will never be released to the public, then you should ensure
2321 that their names will not clash with any future public module. You
2322 can do this either by using the reserved Local::* category or by
2323 using a category name that includes an underscore like Foo_Corp::*.
2324
2325 To be portable each component of a module name should be limited to
2326 11 characters. If it might be used on MS-DOS then try to ensure each is
2327 unique in the first 8 characters. Nested modules make this easier.
2328
2329 =item  *
2330
2331 Have you got it right?
2332
2333 How do you know that you've made the right decisions? Have you
2334 picked an interface design that will cause problems later? Have
2335 you picked the most appropriate name? Do you have any questions?
2336
2337 The best way to know for sure, and pick up many helpful suggestions,
2338 is to ask someone who knows. Comp.lang.perl.misc is read by just about
2339 all the people who develop modules and it's the best place to ask.
2340
2341 All you need to do is post a short summary of the module, its
2342 purpose and interfaces. A few lines on each of the main methods is
2343 probably enough. (If you post the whole module it might be ignored
2344 by busy people - generally the very people you want to read it!)
2345
2346 Don't worry about posting if you can't say when the module will be
2347 ready - just say so in the message. It might be worth inviting
2348 others to help you, they may be able to complete it for you!
2349
2350 =item  *
2351
2352 README and other Additional Files.
2353
2354 It's well known that software developers usually fully document the
2355 software they write. If, however, the world is in urgent need of
2356 your software and there is not enough time to write the full
2357 documentation please at least provide a README file containing:
2358
2359 =over 10
2360
2361 =item *
2362
2363 A description of the module/package/extension etc.
2364
2365 =item *
2366
2367 A copyright notice - see below.
2368
2369 =item *
2370
2371 Prerequisites - what else you may need to have.
2372
2373 =item *
2374
2375 How to build it - possible changes to Makefile.PL etc.
2376
2377 =item *
2378
2379 How to install it.
2380
2381 =item *
2382
2383 Recent changes in this release, especially incompatibilities
2384
2385 =item *
2386
2387 Changes / enhancements you plan to make in the future.
2388
2389 =back
2390
2391 If the README file seems to be getting too large you may wish to
2392 split out some of the sections into separate files: INSTALL,
2393 Copying, ToDo etc.
2394
2395 =over 4
2396
2397 =item *
2398
2399 Adding a Copyright Notice.
2400
2401 How you choose to license your work is a personal decision.
2402 The general mechanism is to assert your Copyright and then make
2403 a declaration of how others may copy/use/modify your work.
2404
2405 Perl, for example, is supplied with two types of licence: The GNU
2406 GPL and The Artistic Licence (see the files README, Copying, and
2407 Artistic).  Larry has good reasons for NOT just using the GNU GPL.
2408
2409 My personal recommendation, out of respect for Larry, Perl, and the
2410 Perl community at large is to state something simply like:
2411
2412  Copyright (c) 1995 Your Name. All rights reserved.
2413  This program is free software; you can redistribute it and/or
2414  modify it under the same terms as Perl itself.
2415
2416 This statement should at least appear in the README file. You may
2417 also wish to include it in a Copying file and your source files.
2418 Remember to include the other words in addition to the Copyright.
2419
2420 =item  *
2421
2422 Give the module a version/issue/release number.
2423
2424 To be fully compatible with the Exporter and MakeMaker modules you
2425 should store your module's version number in a non-my package
2426 variable called $VERSION.  This should be a floating point
2427 number with at least two digits after the decimal (i.e., hundredths,
2428 e.g, C<$VERSION = "0.01">).  Don't use a "1.3.2" style version.
2429 See L<Exporter> for details.
2430
2431 It may be handy to add a function or method to retrieve the number.
2432 Use the number in announcements and archive file names when
2433 releasing the module (ModuleName-1.02.tar.Z).
2434 See perldoc ExtUtils::MakeMaker.pm for details.
2435
2436 =item  *
2437
2438 How to release and distribute a module.
2439
2440 It's good idea to post an announcement of the availability of your
2441 module (or the module itself if small) to the comp.lang.perl.announce
2442 Usenet newsgroup.  This will at least ensure very wide once-off
2443 distribution.
2444
2445 If possible, register the module with CPAN.  You should
2446 include details of its location in your announcement.
2447
2448 Some notes about ftp archives: Please use a long descriptive file
2449 name that includes the version number. Most incoming directories
2450 will not be readable/listable, i.e., you won't be able to see your
2451 file after uploading it. Remember to send your email notification
2452 message as soon as possible after uploading else your file may get
2453 deleted automatically. Allow time for the file to be processed
2454 and/or check the file has been processed before announcing its
2455 location.
2456
2457 FTP Archives for Perl Modules:
2458
2459 Follow the instructions and links on:
2460
2461    http://www.cpan.org/modules/00modlist.long.html
2462    http://www.cpan.org/modules/04pause.html
2463
2464 or upload to one of these sites:
2465
2466    https://pause.kbx.de/pause/
2467    http://pause.perl.org/pause/
2468
2469 and notify <modules@perl.org>.
2470
2471 By using the WWW interface you can ask the Upload Server to mirror
2472 your modules from your ftp or WWW site into your own directory on
2473 CPAN!
2474
2475 Please remember to send me an updated entry for the Module list!
2476
2477 =item  *
2478
2479 Take care when changing a released module.
2480
2481 Always strive to remain compatible with previous released versions.
2482 Otherwise try to add a mechanism to revert to the
2483 old behavior if people rely on it.  Document incompatible changes.
2484
2485 =back
2486
2487 =back
2488
2489 =head2 Guidelines for Converting Perl 4 Library Scripts into Modules
2490
2491 =over 4
2492
2493 =item  *
2494
2495 There is no requirement to convert anything.
2496
2497 If it ain't broke, don't fix it! Perl 4 library scripts should
2498 continue to work with no problems. You may need to make some minor
2499 changes (like escaping non-array @'s in double quoted strings) but
2500 there is no need to convert a .pl file into a Module for just that.
2501
2502 =item  *
2503
2504 Consider the implications.
2505
2506 All Perl applications that make use of the script will need to
2507 be changed (slightly) if the script is converted into a module.  Is
2508 it worth it unless you plan to make other changes at the same time?
2509
2510 =item  *
2511
2512 Make the most of the opportunity.
2513
2514 If you are going to convert the script to a module you can use the
2515 opportunity to redesign the interface.  The guidelines for module
2516 creation above include many of the issues you should consider.
2517
2518 =item  *
2519
2520 The pl2pm utility will get you started.
2521
2522 This utility will read *.pl files (given as parameters) and write
2523 corresponding *.pm files. The pl2pm utilities does the following:
2524
2525 =over 10
2526
2527 =item *
2528
2529 Adds the standard Module prologue lines
2530
2531 =item *
2532
2533 Converts package specifiers from ' to ::
2534
2535 =item *
2536
2537 Converts die(...) to croak(...)
2538
2539 =item *
2540
2541 Several other minor changes
2542
2543 =back
2544
2545 Being a mechanical process pl2pm is not bullet proof. The converted
2546 code will need careful checking, especially any package statements.
2547 Don't delete the original .pl file till the new .pm one works!
2548
2549 =back
2550
2551 =head2 Guidelines for Reusing Application Code
2552
2553 =over 4
2554
2555 =item  *
2556
2557 Complete applications rarely belong in the Perl Module Library.
2558
2559 =item  *
2560
2561 Many applications contain some Perl code that could be reused.
2562
2563 Help save the world! Share your code in a form that makes it easy
2564 to reuse.
2565
2566 =item  *
2567
2568 Break-out the reusable code into one or more separate module files.
2569
2570 =item  *
2571
2572 Take the opportunity to reconsider and redesign the interfaces.
2573
2574 =item  *
2575
2576 In some cases the 'application' can then be reduced to a small
2577
2578 fragment of code built on top of the reusable modules. In these cases
2579 the application could invoked as:
2580
2581      % perl -e 'use Module::Name; method(@ARGV)' ...
2582 or
2583      % perl -mModule::Name ...    (in perl5.002 or higher)
2584
2585 =back
2586
2587 =head1 NOTE
2588
2589 Perl does not enforce private and public parts of its modules as you may
2590 have been used to in other languages like C++, Ada, or Modula-17.  Perl
2591 doesn't have an infatuation with enforced privacy.  It would prefer
2592 that you stayed out of its living room because you weren't invited, not
2593 because it has a shotgun.
2594
2595 The module and its user have a contract, part of which is common law,
2596 and part of which is "written".  Part of the common law contract is
2597 that a module doesn't pollute any namespace it wasn't asked to.  The
2598 written contract for the module (A.K.A. documentation) may make other
2599 provisions.  But then you know when you C<use RedefineTheWorld> that
2600 you're redefining the world and willing to take the consequences.