CPAN FAQ
If you want more detailed documents about Perl, you should come here to see (www.perl.com). If you want to see Perl FAQ, you can come here (Perlfaq.cpan.org)? 1998-2001 Elaine ashton
I. - FAQ
What is Perl What is perl6 What is the logo of cpan cpan? And Can I use it in my document? What is pause, cpan how to operate how to automatically boot to different servers
Ii. - Question of how to get Perl source programs, modules, and scripts
Where can I find the source program of current Perl? Where can I find the old Perl source program and module? What should I understand the version number of Perl? What do I start installing Perl because of how to start a source file? Where can I find the module of Perl? How do I remove the installed Perl module? How can I know that I have installed those modules? What is a bundle and how do i make one for my oow ie or distribution on cpan? How can I determine if a module can run on my system? How do I manually install a module in a private / non-standard directory? How do I use a module installed in a private / non-standard directory? Where can I find the recently updated Perl module? From there I can find modules on Windows? Where can I find the compiled package of Perl's Binaries / Package and Perl module? How is the PERL and the CPAN module authorized? Is there a module in the standard Perl source program released? What modules are related to the platform? Where can I find a perl script?
III.-Rif 〖Reading is fun-duh-mental】
Where can I find Perl FAQS? Where can I find a Perl document? Where can I find the document of the Perl module? Where can I find the Perl DBI / DBD / DATABASE document? How do I find / join / create a list of Perl? Where can I find Perl Journals / Magazines? Where can I find a Perl course / training / online tutorial? Where can I find the cpan on the CD-ROM? How do I find / join / organize a Perl user group? Where can I find the history of Perl?
Iv.- Error always happens, how do I solve?
When I downloaded a module, I went wrong, how should I do? I downloaded a damaged module / script / file, how should I do? How can I use the foo :: bar module, can you help? When I download a module, a VRML reader opens and reports an error. How can I do? Where can I find a gdbm_file / db_file module? I used Search.cpan.org to do something, who is I?
V.- Search for CPAN, other existing resources in CSPAN
How do I use the CPAN search engine? How do I go to search for module / scripts? How do I find something about Perl? How do I find Ralph Nader? (We are C-P-A-N, not C-S-P-A-N!) Vi. - Publishing module, patch, how to report Bug
How can I publish the module to the cpan? Can I publish a shared software or module on the CPAN to get some pay or anything else? How do I release a script to the cpan? How do I release a document I want to report / fix a bug in Perl / or its document? How do I report a bug in the module / script? How do I go to maintain the module when the author of a module does not want to maintain? Is there a site specially used to process module error reports? Can I download a statistics on the author on the CPAN?
Vii.- How to mirror CPAN
How do I go to Mirror CPAN? What do I need if I want to mirror cpan? My system is Windows, how do I mirror CPAN? Which CPAN site I do? How do I register my mirror site so that it can be accessed by the public?
What is Perl
This is defined in the Perl document:
Perl is a high-level language that is created by Larry Wall and several thousand people. He has inherited the characteristics of the C language while inheriting some features from SED, AWK, and UNIX shell, and from other Certain features inheritance in at least one tool and language. Perl's ability to process files makes it ideal for solving various tasks, constructing prototype, system management, database operation, graphic programming, network, and WWW programming, which make him very popular with system administrators, but other mathematics Home, biologists, news officers, even managers use Perl. Maybe you will also use it
Reference: http://www.sysadminmag.com/tpj/whatisperl.htm
Two good sites looking for Perl information are http://www.perl.com and http://www.perl.org
What is perl6?
At the second O'Reilly open source meeting, the Larry Wall announced the development of Perl6. Perl6 will still inherit the characteristics of Perl5, of course it will be changed with C , and another name is Topaz.
If you are interested in developing, you can come here http://www.perl.org/perl6/
"We're Really Serious About Reinventing Everything Needs Reinventing." --Larry Wall
What is cpan?
CPAN is the meaning of "Perl file smart network", including a lot of Perl modules, software, and documentation. You can find cpan: http://www.cpan.org or http://www.perl.com/cpan/ or other columns in http://www.cpan.org/sites.html Mirror site in http://mirror.cpan.org
At the same time, please note that the cpan is still a Module name, cpan.pm is a tool for automatically downloading and installing the Perl module. This document has only a small amount of cpan.pm. If you want more information, please Here is http://theoryx5.uwinnipeg.ca/cpan/perl/cpan.html. Where did the CPAN LOGO come and I can use it in my documentation?
The CPAN's logo is made by J.C.Thorpe, and the letter "A" is composed of three books.
We allow you to use cpan logo in the following situations: Make a link to CPAN or you write to discuss CPAN. If you use it in other cases, please contact us!
What is PAUSE?
Pause is the meaning of "Perl Authors Upload Server", which allows the registration account to upload their Perl documents, modules, scripts to the CPAN. CPAN and PAUSE often cross the use, but they are different, there is a simple discussion on them in cpan.pm;
In the discussion here, they seem to be the same - but actually they are different. Pause is Authors /, Modules, and Scripts. CPAN is PAUSE plus CLPA /, DOC /, MISC /, PORTS / and SRC.
If you want to publish a module, please refer to the following document 'How do i control modules?'.
How does CPAN work?
CPAN is working with hundreds of developers, more than 175 mirrored sites to provide services, space, and computing power, volunteers help keep all things can be used and are responsible for updating maintenance. Here is the mirror site distribution map
When a publisher has released a module through the PAUSE, the module will be mirrored to other mirrored sites around the world within an hour. Different scripts running on the cpan are useful to check if the mirror site is useful. There are also some people help the publisher to select module names and namespaces, and some people are also responsible for answering questions and collecting various information posted to cpan@perl.org for further discussion.
How is the intelligent choice in the CPAN work?
CPAN Multiplexer is written by Tom Christiansen. He runs on http://www.perl.com/cpan, providing a list of available mirror servers and automatically bring you to your nearest site, of course you can Select the site yourself. Based on the tail of the domain name, he judges and classified sites, such as a "* .ac.uk" address will be classified below .uk, and one * .com will be classified directly below Perl.com.
Where can I find the source program of current Perl?
Http://www.cpan.org/src/latest.tar.gz - (UNIX-style tar.gz) http://www.cpan.org/src/latest.zip - (PC-Style Zip, with Cr Lf line endings. Http://www.cpan.org/src/index.html - a more detailed list of source code offerings.
Perl Mongers has a "Download Perl" button. If you are interested, you can come here http://www.pm.org/web_site_frosting.shtml.
Where can I find the old Perl source program and module?
If you don't have a full reason, don't install the old version because they are more or less contain some bugs or even security bugs.
Reasons for the need to install old versions: Want to support Perl 4 programs, then the bug only in the old version, or like to study Perl history. There is no old version in the cpan, but you can find what you want from the site:
Http://www.etla.org/retroperl/ http://mirros.valueClick.com/perl/really-ancient-perls/ http://history.perl.org/src/ http: //mirrors.valueClick. COM / Perl / Backup.pause / - for old version of modules
How do I understand the version number of Perl?
At present, Perl starts its version number from V.5.6.0:
Perl V5.6.0 is the nearest version of the top 5.005 version. You may have already noticed that the current version number has changed, its version number is divided into even the number and the base, the even version is a stable version, which is the development version, which is the same as the Linux kernel version number. For example, 5.6. * Is a stable version, and 5.7. * This is the development version number.
You can know more detailed content from the Perl document.
How can I start installing Perl from the source file?
First you need a C compiler. After downloading and extracting, you have to read an install document (here how to install the detailed description). Of course, there are some platform-dependent files that need you to see if your installation platform is very special! !
Perl can be installed on all supported platforms using methods installed from source files. These include all UNIX series and compatible (such as OS / 2, Plan 9, QNX, Amiga, MPE / IX, OS390, Stratus Vos, etc.), and Windows systems. The following platforms are special
MacOS (1) AS / 400 (2) Novell NetWare (2)
1. Source files for running on the Mac can get http://www.cpan.org/ports/mac/.
2. The AS / 400 and Novell NetWare have not included it in the standard Perl release version. If you want to install, please see: http://www.cpan.org/ports/AS400/ and http://www.cpan.org/ports/netware/ and http://www.cpan.org/src/readme
Where can I find the module of Perl?
Http://www.cpan.org/modules/00modlist.long.html http://search.cpan.org/ http://kobesearch.cpan.org/
Based on the module is constantly increasing, we recommend you to use the CPAN search engine, especially when you know what you want! !
How do I install the Perl module?
The easiest way is Perl-MCPan -e 'Install Chocolate :: Belgian', and the cpan.pm document has a detailed introduction to this method. If you don't want to let the system control your installation or it can't be used at all, then you have to look at PerlModInstall, covering Unix, Windows, and Macintosh's mainstream systems.
If you are using the ActivePerl (Windows Platform), the PPM (Perl Package Manager) can also function equivalent to the CPAN.pm module.
Handmade installation is generally
Enter the module directory Make Make Make File.pl Make; Make Test Make Install (this step requires administrator privileges, or you install the module below your personal directory) How do I remove the installed module?
Use ExtUtils :: Installed and Extils :: PACKLIST these two modules. Here is an example in which more detailed examples in Extils :: PackList, you can refer to it. #! / usr / local / bin / perl -wuse extutils :: packlist; use extutils :: installed; $ argv [0] or die "usage: $ 0 module :: name / n"; my $ mod = $ argv [0 ]; My $ INST = Extutils :: Installed-> New (); Foreach My $ Item (Sort ($ INST-> Files)) {Print "Removing $ Item / N"; unlink $ item;} my $ PACKFILE = $ INST-> PACKLIST ($ mod) -> packlist_file (); Print "Removing $ packfile / n"; unlink $ PackFile;
How can I know which modules have been installed on my machine?
Perldoc PerlloCal whenever you have a module installed, it will add the information as shown below in a file called Perll, POD. And the file is dependent on the Path path you defined, and the Path path can be displayed using Perl -V. Here is the file added in perllocal.pod = Head2 Wed May 12 13:42:53 1999: C
The examples are as follows: #! / Usr / local / bin / perluse extutils :: installed; my $ installed = extutils :: installed-> new (); foreach my $ module ($ installed-> modules ()) {my $ version = $ instth || "???"; Print "$ module - $ version / n";} Output The output is as follows: apache :: dbi - 0.87apache :: DBILOGCONFIG - 0.01 Apache :: Dbilogger - 0.93Appconfig - 1.52Appconfig - 1.52rchive :: Tar - 0.22berkeleydb - 0.06cgi - 2.00compress :: zlib - 1.11config :: zlib - 1.11config: ZLIB - 1.11config: : INIFILES - 2.26CONVERT :: Ber - 1.26COY - ??? Crypt :: Rot13 - 0.04Crypt :: SSLEAY - 0.16DBI - 1.14 [.....] ActivePerl Using PPM Toolkit, Method as follows; C: /> ppm queryArchive-Tar [0.072] module for manipulation of tar archives.Compress-zlib [1.03] interface to zlib compression libraryDBI [1.13] Database independent interface for PerlGD [1.25] interface to Gd Graphics LibraryHTML-Parser [ 2.23] SGML PARSER CLASSMIME-BASE64 [2.11] Encoding and decoding of base64 stringsppm [1.1.4] Perl package manager: locate, install, Upgrade Software Pmtools Toolkit is written by Tom Christiansen to browse And management module tools, can be from here http://language.perl.com/misc/pmtools-1.00.tar.gz, some of its help document: PmTools - a small program for helping to manage modules . Every program inside is only one thing, including a small program
PMPATH - Display Module PMVERS - Display Module Version Number PMDESC - About Module Overview PMALL - Displays the PMDESC Description PMDIRS - Branch Display Perl Module PMDS - Display Procedure PMLOAD - Display Module Module Compile What File Pmexp - Display Module PMINST - Find which module PMeth - list all methods of a class PMLS - Detailed list PVAT - Display Module Source PMAN - Display Module POD Document PMFunc - Display a function of a function in a module Podgrep - Find PFCAT - Show Pods from Perlfunc Podtoc - List Table of Contents of a Podpage Podpath - List All Standard PODs and Modules POD sitepods - list only pods in site_perl directories basepods - list only normal "man-page" style pods faqpods - list only faq pods modpods - all module pods, including site_perl ones stdpods - list standard pods, not site_perl ones
What is "bundle", how do I make a "bundle" or how do I use "bundle" from the CPAN? The third edition "Programming Perl" will "define" in "bundle" on the CPAN The associated module ", this definition is very clear but it doesn't tell you how to make a" bundle ". A "bundle" can be any module of any set, can be related or not related. "bundle" is to install a set of modules for cpan.pm. A "bundle" is a module in bundle :: name space, but she is different from other modules, there is no module inside to install, only one list lists the modules that need to be installed. Many ready-made "bundle" you can go to refer, and then you can make one of themselves. You can get a "bundle" list from Search.cpan.org, if you type 'b' below Cpan.pm, you can also get a currently allowed "Bundle" list. As follows; cpan> bbundle bundle :: abh (A / ab / abh / bundle-abh-1.04.tar.gz) bundle bundle :: AO :: Base (I / IX / IX / AO-0.32.tar.gz) bundle Bundle :: AO :: Standard (I / IX / IX / AO-0.32.tar.gz) bundle bundle :: Apache (D / DO / DOUGM / MOD_PERL-1.25.TAR.GZ) Bundle bundle :: Apache :: ASP (C / ch / chamas / apache-asp-2.09.tar.gz) bundle bundle :: apache :: Roaming (J / JW / jwied / apache-rotle bundle :: bioperl (C / Cr / craffi / bundle-bioperl-1.00.tar.gz) Bundle bundle :: bonsai (z / zl / zlipton / bundle-bonsai-0.02.tar.gz) [....] If you add back to 'b' On the module parameters, it can list details about this module. CPAN> B bundle :: dbibundle id = bundle :: dbicpan_userid timb (tim bunce)
CPAN_Version 1.03
CPAN_FILE TI / TI / TIMB / DBI-1.15.Tar.gz
MANPAGE BUNDLE :: DBI - A Bundle To Install DBI and Required Modules.
Contains Storable Net :: daemon rpc :: plserver getopt :: long dbi
Inst_file /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/bundle/dbi.pm
INST_VERSION 1.03
Making a "bundle" requires the following two steps;
Automatically generate "bundle" feature using cpan.pm If you don't use the parameter run "autobundle", it will automatically pack all system-level "bundle", if you just want to join Part of the module to "bundle", only need to give the list of modules you want to join, as follows: foo @ bar / home / chaos / monkey> Perl -mcpan -eshellcpan> Autobundle CGI Crypt :: Rot13 Date :: Christmas Date: : Manipgoing to read /Home/chaos/Monkey/.cpan/sources/authors/01mailrc.txt.gzcpan: compress :: zlib loaded okgoing to read /Home/chaos/Monkey/.cpan/sources/modules/02Packages.Details. TXT.GZGOING to read /Home/chaos/Monkey/.cpan/sources/modules/03modlist.data.gzpackage namespace Installed Latest In CPAN filecgi 2.74 2.753 l / ld / lds / cgi.pm-2.753.tar.gzcrypt :: Rot13 0.04 0.04 a / ay / ayrnieu / crypt-rot13-0.04.tar.gzdate :: Christmas 1.01 1.02 h / hf / hfb / date-Christmas-1.02.tar.gzdate :: manip 5.39 5.39 S / SB / SBECK / DATEMANIP- 5.39.tar.gzWrote bundle file / home / chaos / monkey / .cpan / Bundle / Snapshot_2001_05_09_01.pm "Snapshot_2001_05_09_01.pm" this document can be used to install, as perl -MCPAN -e 'install Bundle :: Snapshot_2001_05_09_01' if If you can't find Snapshot, please check if your cpan.pm is configured correctly. Next, the configuration file is output, as follows: cpan> o conf caos/homecpan_home /Home/chaos/Monkey/.cpan If you are a system administrator or you want to post your module to a large number of machines If you will know how good this gadget is, if you are interested, you can also study it. Making the "Bundle" version "bundle" released to the CPAN "bundle" creation first creates a frame, like this: foo @ bar / home / chaos / monkey> h2xs -axcfn bundle :: mybundlewriting bundle / mybundle.pmwriting bundle / mybundle /Makefile.plwriting bundle / mybundle / test.plwriting bundle / mybundle / manifest then edit mybundle.pm file
Delete all the declarations in the module, the version number editing name and add '-Descriptive info' Add c
As follows: foo @ bar monkey / Bundle / MyBundle> perl Makefile.PL Checking if your kit is complete ... Looks goodWriting Makefile for Bundle :: MyBundlefoo @ bar monkey / Bundle / MyBundle> make distrm -rf Bundle-MyBundle-0.01 / USR / BIN / Perl -i / USR / local / lib / perl5 / 5.00503 / sun4-solaris -i / usr / local / lib / perl5 / 5.00503 / -MextUtils :: manifest = manicopy, maniread -e "manoperty (maniread) ), 'Bundle-mybundle-0.01', 'best'); "MKDIR bundle-mybundle-0.01tar CVF bundle-mybundle-0.01.tar bundle-mybundle-0.01a bundle-mybundle-0.01 / 0ka bundle-mybundle-0.01 / Makefile.PL 1Ka Bundle-MyBundle-0.01 / MyBundle.pm 1Ka Bundle-MyBundle-0.01 / README 1Ka Bundle-MyBundle-0.01 / MANIFEST 1Krm -rf Bundle-MyBundle-0.01gzip --best Bundle-MyBundle-0.01.tar above is All work, take advantage of it, you have to benefit. How do I know if a module can be installed on my system to http://testers.cpan.org Which systems can be installed on which systems can be installed? ! CPAN Tester is a organization that is initiated by Graham Barr and Chris Nandor whether the module on all CPANs can be used on each platform, from which you can get a very detailed information about whether a module is available on a platform You can get detailed information from its homepage! ! At the same time, if you are willing to do your way for Perl, you can join in!
How do I handle the module to the non-standard directory? First you need to set the installed prefix and lib when you run makefile.pl. LIB is the place where the module file is installed and Prefix is the installation ground of other files. For example, yifeng @ lab1213 $ perl makefile.pl lib = / home / yifeng / mylib prefix = / home / yifeng / mylib other related information, please refer to the Extils :: Makemaker documentation.
How do I use a module installed under the non-standard directory? There are several ways here to use:
Yifeng @ lab1213 $ setENV Perl5lib / path / to / module To set the environment variable Perl5lib. In each of the heads using those modules, add the use lib QW (/ path / to / module); Yifeng @ lab1213 $ perl -i / path / to / module This is the method used in compile. All of these methods will add / path / to / module to @Inc this environment variable. At the same time, keep in mind that the use of non-standard catalogs affect the portability of the program.
How can I find the module uploaded recently? Every day, there are so many modules to upload it so that it is difficult to completely keep up with the module update, but there are still the following methods can be used.
http://search.cpan.org/recent http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?Request=Recent http://use.perl.org/ These three sites can allow you to view the latest Upload module. Where can I find modules for Windows? Http://aspn.activestate.com/as/products/activeperl-5.6/faq/activeperl-faq2.html has a package manager's FAQ, http://www.northbound-train.com/perlwin32. HTML also has a range of resources that can be used for Windows, including modules.
Where can I get the binary package of Perl or a binary package of Perl module? Http://www.cpan.org/ports/index.html has all available binary packages currently we know. If you have a binary package based on a platform, please send us a URL. We don't do any guarantees, and we will not put them in the cpan because of our space. The Binary package for ActivePerl can be obtained from http://www.activestate.com/ppmpackages/.
How does Perl and CPAN authorize? Most (not all) modules on the CPAN are based on GPL authorization or the author will declare in the module. If the copyright is not declared in the module, you can write to the module author to figure out the copyright issues.
Open Source organizes an official copyright statement that you can find here: http://www.opensource.org/licenses/index.html. CPAN and PAUSE do not have any copyright, we strongly require the author to declare in the module Copyright question, if you need a copyright help, we recommend that you find the relevant lawyer's general copyright should be declared in the 'Readme' file below the root directory, as follows: Perl Kit, Version 5.0copyright 1989-1999, Larry Wall Rights Reserved .This program is free software; you can redistribute it and / or modifyit under the terms of either: a) the GNU General Public License as published by the FreeSoftware Foundation; either version 1, or (at your option) anylater version, orb) the "Artistic License" which comes with this Kit.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;. without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See eitherthe GNU General Public License or the Artistic License for more details.You should have received a copy of the Artistic License with thisKit, in the file named "Artistic". If not, I'll be glad to provide one.You should also have received a copy of the GNU General Public licen Sealong with this program in the file named "Copying"
, 59 Temple Place, Suite 330, Boston, MA02111-1307, USA OR VIT Their Web Page on the Internet atttp: //www.gnu.org/copyleft/gpl.html .For those of you that choose to use the GNU General Public License, my interpretation of the GNU General Public License is that no Perlscript falls under the terms of the GPL unless you explicitly putsaid script under the terms of the GPL yourself. Furthermore, anyobject code linked with perl does not automatically fall under theterms of the GPL, provided such object code only adds definitionsof subroutines and variables, and does not otherwise impair theresulting interpreter from executing any standard Perl script. Iconsider linking in C subroutines in this manner to be the moralequivalent of defining subroutines in the Perl language itself. youmay sell such an object file as proprietary provided that you provide or offer to provide the Perl source, as specified by the GNU GeneralPublic License. (This is merely an alternate way of specifying inputto the program.) You may also sell a binary produced by the dumping of a running Perl script that belongs to you, provided that you provide oroffer to provide the Perl source as specified by the GPL. (Thefact that a Perl interpreter and your code are in the same binary fileis, in this case, a form of mere aggregation.) This is my interpretationof the GPL. If you still have concerns or difficulties understandingmy intent, feel free to contact me. of course The Artistic LicenseSpells All this out for your protection, so you may prefer to use this. Is the module included in the Perl source file? Of course, the Perl release version includes a range of useful modules, and they can find from the PerlModLib file.
Http ://theoryx5.uwinnipeg.ca/cpan/perl/pod/perlmodlib.html Perldoc PerlmodLib What modules do you have a platform? Some platform-related Perl modules have "Bundle" has been related to many platforms, others can find from below (too much below, no use, I don't translate) IBM OS / 2 The Following Modules come with Standard Perl.
Os2 :: DLL
Access to Dlls with Rexx Calling Convention and Rexx Runtime.
Os2 :: Extttr
Access to extended attributes.
Os2 :: PrfDB
Access to the OS / 2 Setting Database.
Os2 :: Process
CONSTANTS for / Tool {System} (2) Call on OS / 2.
Os2 :: REXX
Access to Dlls with Rexx Calling Convention and Rexx Runtime.
Dec (Open) VMS The Following Modules Come with Standard Perl.
VMS :: Dclsym
Perl Extension to Manipulate DCL Symbols.
VMS :: FileSpec
Converts Between VMS and UNIX File Specification Syntax.
VMS :: stdio
Standard I / O Functions VIA VMS Extensions.
VMS :: xssymset
Keeps Sets of Symbol Names Palatable to the VMS Linker.
Microsoft Windows (32 Bit) The Following Modules Come with ActiveState Perl.
Win32 :: ChangeNotify
Monitors Events Related To Files and Directories.
Win32 :: console
Uses Win32 Console and Character Mode Functions.
Win32 :: Event
Uses Win32 Event Objects.
Win32 :: Eventlog
Processes Win32 Event Logs.
Win32 :: file
Manages File Attributes.
Win32 :: FileSecurity
MANAGES FileSecurity Discretionary Access Control Lis.
Win32 :: IPC
Loads base class for win32 synchronization objects.
Win32 :: Internet
Accesses Wininet.dll functions.
Win32 :: mutex
Uses Win32 Mutex Objects.
Win32 :: Netadmin
Manages network groups and users.
Win32 :: NetResource
Manages NetWork Resources.
Win32 :: ODBC
Uses ODBC EXTENSION for WIN32.
Win32 :: ole
Uses ole automation extensions.
Win32 :: OLE :: Const
Extracts constant definitions from Typelib.
Win32 :: OLE :: ENUM
Uses Ole Automation Collection Objects.win32 :: OLE :: NLS
Uses Ole National Language Support.
Win32 :: ole :: Variant
Creates and Modifies Ole Variant Variables.
Win32 :: perflib
Accesses The Windows NT Performance Counter.
Win32 :: Process
Creates and manipulates process.
Win32 :: semaphore
Uses Win32 Semaphore Objects.
Win32 :: service
Manages System Services.
Win32 :: Sound
Plays with Windows Sounds.
Win32 :: TieRegistry
Mungs the registry.
Win32API :: File
Accesses Low-Level Win32 System API Calls for Files and Directories.
Win32API :: Net
Manages Windows NT LanManager Accounts.
Win32api :: registry
Accesses Low-Level Win32 System Api Calls from WinReg.h.
Where can I find a Perl script?
Http://www.cpan.org/scripts/index.html http://www.perlarchive.com/ http://freshmeat.net/ Other places with Perl scripts (nonsense: <)
Where can I get Perl FAQ? Perl FAQ is included in the Perl release, you can use "Perldoc Perlfaq" to get, of course, you can also come here to see http://perlfaq.cpan.org/
Where can I get the documentation of Perl?
http://www.cpan.org/doc/index.html http://perldoc.cpan.org/ You can http://theoryx5.uwinnipeg.ca/cpan/perl http://theoryx5.uwinnipeg.ca/cpan/perl on your system /pod/perlfaq2/perl_books.html If you want to see more articles and have money to buy.
From where I can find the documentation for the Perl module
Http://search.cpan.org/, http://wait.cpan.org/ Perldoc foo :: bar If the module is already installed, foo :: bar makes you installed the module.
Where can I find the DBI / DBD / DATABASE document of Perl?
Http://dbi.symbolstone.org/ - Authoritative DBI Description http://www.savebaseball.com/mysql/dbd_3.21.x.php3 -mysql Perl interface manual http ://theoryx5.uwinnipeg.ca/ CPAN / DATA / DBI / DBI.HTML - DBI help document runs Perldoc DBI
Where can I find a list of Perl? There are several perl mailing lists, you can take a look:
Http://lists.perl.org/ http://www.perl.com/pub/language/info/mailing-lists.html, http://www.perl.org/support/mailing_lists.html http: / /www.mail-archive.com/ Most mailing lists are open, you can join. If you don't find a list of interest, you want to create one, you can write a letter to the Lists@perl.org area to create a mailing list. Where can I find a magazine about Perl?
Http://www.tpj.com/ - Traditional magazines about Perl http://www.perlmonth.com/ - A magazine about Perl About Perl http://www.unixreview.com/ http: // Www.stonehenge.com/merlyn/webtechniques/rlyn/webtechnique/ - randal schwartz 'Web Techniques columns. http://www.usenix.org/publications/login/login.html -; login, The publication of useenix. http: // www. Samag.com/ - System Admin Magazine Has Occasional Perl Articles.
Where can I find information about Perl training / learning? Train
Http://training.perl.com/ http://www.perltraining.org/ http://www.perl.org/phbs/training.html Online Tutorial
Http://www.ebb.org/pickingupperl/ http://www.speech.cs.cmu.edu/~sburke/pub/perl.html http://www.comp.leeds.ac.uk/perl/ Start.html http://www.cpan.org/doc/fmteyewtk/index.html http://www.cclabs.missouri.edu/things/instruction/perl/perlcourse.html http://www.perltraining.com /idiom.pdf
How can I find and join a PERL user group? Perl User Group is also known as "Perl Mongers", and now there is an active Perl team around the world. You can join a group at http://www.pm.org/groups.shtml. Or you can also create one here http://www.pm.org/start.shtml
Where did I find the old version of Perl and the history of Perl? An old version of Perl released the history of the history of the history can be found from these two places. First, Perldoc Perlhist, the other is here http://theoryx5.uwinnipeg.ca/cpan/perl/pod/perlhist.html. More more detailed information about Perl history can be found here http://history.perl.org/.
What should I do when I download the module? When you encounter problems, please check the following questions, we check each mirror site every day to ensure that they are available, but there will be a variety of questions, please make sure you have viewed the following questions:
What tool do you use? WEB browser? FTP tool? Which server are you using? Please note: For most requests, our smart navigator will bring you to your recent server. If you are using the web browser, please pay attention to check the URL address. You can also go back to http://www.perl.com/cpan and select a mirror site, you will default to the site, if you want to change, please go to http: // www .erl.com / cpan. Specific error message! We need your detailed error message, please send them (if possible) Do you re-tried? The server may be busy at that time, you may try again later! ! What should I do if I downloaded the module / script / file. What should I do? Many files on the CPAN are ending with .TAR.GZ, but unfortunately there are some programs that will change their names (for example: put them into _tar.tar), so your decompression is no way to identify and unlined it. You can try to change the suffix name to .tgz or change a browser to see if it can. If possible, you can use FTP to download, most sites are supported by FTP downloads, you can find a list of mirror sites http://www.cpan.org/sites.html and http: // mirror .cpan.org /. If you are downloaded with FTP, open a binary mode and don't use the Text mode. If you have questions about how to explain the package correctly, you can take a look at http://www.cpan.org/endings. If you still have a problem, you can try a server download. If you still don't work, please write to us, please attach the file name and the path and server name.
How do I use foo :: bar this module, can I help me? Sorry, we don't offer such services, only we will answer if we are related to the CPAN. We will not view your program code for you. If you have any questions in this area, please check the help documentation first. If you can't do it, please go to Comp.Lang.Per.Modules to seek help.
When downloading a module a strange VRML viewer started up and I got an error, what should I do You saw an error window "VRML Console" saying?. "Compilation error: Unrecognized header string" The reason the VRML viewer starts is that there is a type of compressed VRML file with a .gz extension, using (theoretically) the standard gzip compression. The VRML folk used .gz as a means of cutting down the download time on the old wrl files. Most VRML browsers come with a mini gunzip Program. See Also The VRML FAQ Which Also Covers This Problem. You Can Fix this with the following step;
Open "My Computer" or Windows NT Explorer. Select the "View" menu. Select "Options". Click the "File Types" tab. Scroll through the "Registered file types" until you reach "WorldView VRMLViewer Object" and select it. Click "Remove" Answer "Yes" (I've never seen these VRML files WorldView claims to be caring about:.. if you have and you do care, please tell me how to make WorldView stop caring about the .gz and application / x-gzip) Quit and restart your browser for the change to take effect. The next time you try open a file ending in .gz Windows will ask you which application to use to open that file. Scroll down to WinZiP (winzip32), and Remember to check the box asseding to open this type of file unless, of course, you plan on regularly using the vrml viewer. What can I find the gdbm_file / db_file module? GDBM_FILE is released with standard Perl 5. What you have encountered may be because there is no libgdbm or gnu dbm on your system, GDBM_FILE relies on these files, this is nothing to do with your Perl, you can help http: // www here .gnu.org /. If you are looking for DB_FILE, he also needs this library file called libdb, you can help http://www.sleepycat.com/ from the place to publish the library file.
If I have a problem with Search.cpan.org, who is I? If you use search.cpan.org, please contact WebMaster@search.cpan.org because of the network or server.
How do I search for anything on cpan? By using a cpan search engine.
Http://www.perldoc.com/ http://search.cpan.org/ - Graham Barr's Search Engine Which Can Search for Modules, Distributions or Authors in All of cpan. http://kobesearch.cpan.org/ - Randy Kobes' Search Engine That Can Also Search All of Cpan for Modules, Documentation, etc. Http://wait.cpan.org/ - Full Text Search of Pods on Pause.
How do I search for module / script documentation? (Also known as "How do I use ..."?) In general modules and scripts come with their own documentation which should have been installed along with your module / script. (Thanks to Perldation "," it is very hard to miss you documentation ".) Perldoc module :: name perldoc scriptname http://www.Perldoc.com/ http://search.cpan.org/ http: // Wait .cpan.org / http://theoryx5.uwinnipeg.ca/cpan/
Where can I find information (not just perl)?
Http://www.google.com/ http://ragingsearch.Altavista.com/ http://www.altavista.com/ http://hotbot.lycos.com/ http://www.lycos.com/ http://www.yahoo.com/
Where can I find Ralph Nader? Find the wrong place, you should come here to see http://www.cspan.org/.
How do I upload the module to the cpan? If you are willing to learn Pause and you are willing to release your module, please refer to Pause FAQ (http://www.cpan.org/modules/04pause.html), this article will tell you how to get a PAUSE ID and how to upload Your module. You can also refer to the two documents of Perldoc Perlmodlib and Perldoc Perlmod.
Is it possible to upload shared software or other charging software on the CPAN? no. All things on the CPAN are free. The reason is because the CPAN is a Perl community established by hundreds of people paying time and other resources. If you want to publish shared software, please go to other places! ! !
How can I upload my script to the cpan? CPAN has a script collection location http://www.cpan.org/scripts/, and if you want to upload the script, http://www.cpan.org/scripts/submitting.html will also give you a lot of help. of! !
How do I release a document on the CPAN? If your document is based on a module, please send a document to the author. And if it is a general document, please send it to the list of Perl5porters! !
How do I report / fix a bug in Perl and / or its documentation? Always remember to make your bug reports as detailed as possible. "Perl does not work." Is not a bug report. Please note that problems concerning modules that are installed separately from the Perl distribution (such as Tk) are reported differently. Here is a checklist from perlbug, a bug reporting tool included in your Perl distribution. It is a bit on the long side, but please read it carefully as the better your Bug Report Is, The More Likely The Issue Will Be Addressed.
What version of perl you are running? Try Perl -v at the command line to find out. Are you running the late release? / P l h h h h h h h h 帖the latest released version, get that one and see whether your bug has been fixed. Note that bug reports about old versions of Perl, especially those prior to the 5.0 release, are less likely to be incorporated into the source as Perl1 through Perl4 are largely unmaintained. are you sure what you have is a bug? A significant number of the bug reports we get turn out to be documented features in Perl. Make sure the behavior you are witnessing does not fall under that category, by glancing through the documentation that comes with Perl (we'll admit this is no small task, given the sheer volume of it all, but at least have a look at the sections that seem relevant). Be aware of the familiar traps that perl programmers of various hues fall INTO. See the Perltrap Documentation. Check in Perldiag To see what any Perl error message (s) mean. If message is not in perldiag, it probably is not generated by Perl. Consult your operating system documentation instead. If you are on a non-UNIX platform check also perlport documentation, some features may not be implemented or work differently. Try to study the problem under the Perl debugger, if necessary. See the perldebug documentation. Do you have a proper test case? The easier it is to reproduce your bug, the more likely it will be fixed, because if no one can duplicate the problem, no one can fix it A good test case has most of these attributes:. fewest possible number of lines; few dependencies on external commands, modules, or libraries; runs on most platforms unimpeded;
and is self-documenting. A good test case is almost always a good candidate to be on the perl test suite. If you have the time, consider making your test case so that it will readily fit into the standard test suite. Remember also to include all the exact error messages, if any. "Perl complained something" is not an exact error message. If you get a core dump (or equivalent), you may use a debugger (dbx, gdb, etc) to produce a stack trace to include in the bug report NOTE:. unless your Perl has been compiled with debug info (often -g), the stack trace is likely to be somewhat hard to use because it will most probably contain only the function names and not their arguments. If possible, recompile your Perl with debug info and reproduce the dump and the stack trace. Can you describe the bug in plain English? The easier it is to understand a reproducible bug, the more likely it will be fixed. Anything you can provide by Way of Insight Into The Problem Helps a Great Deal. in Other Words, try to analyze the problem (to the extent you can) and report your discoveries. Can you fix the bug yourself? A bug report which includes a patch to fix it will almost definitely be fixed. Use the diff program to generate your patches (diff is being maintained by the GNU folks as part of the diffutils package, so you should be able to get it from any of the GNU software repositories). If you do submit a patch, the cool-dude counter at perlbug @
.. Perl.com will register you as a savior of the world Your patch may be returned with requests for changes, or requests for more detailed explanations about your fix Here are some clues for creating quality patches: Use the -c or -u switches to the diff program (to create a so-called context or unified diff). Make sure the patch is not reversed (the first argument to diff is typically the original file, the second argument your changed file). Make sure you test your patch by applying it with the patch program before you send it on its way. Try to follow the same style as the code you are trying to patch. Make sure your patch really does work (make test, if the thing you're patching supports it ). Can you use perlbug to submit the report? perlbug will, amongst other things, ensure your report includes crucial information about your version of perl. If perlbug is unable to mail your report after you have typed it in, you may have to compose The message yourself, add the output products y perlbug -d and email it to perlbug@perl.com. If, for some reason, you can not run perlbug at all on your system, be sure to include the entire output produced by running perl -V (note the uppercase V). WHETHER You Use Perlbug Or send the email manually, please make your subject line informative. "A bug" is not informative. Neither is "Perl Crash" NOR "HELP !!!" THESE DON 'TELP. A Compact Description of what'
Swrong IS Fine. Having Done Your Bit, Please Be Told The Bug Is in Your Code, or Even To Get No Reply At All. The Perl Maintainers Are Busy Folks, SO if Your Problem Is A Small ONE or if it is difficult to understand or already known, they may not respond with a personal reply. If it is important to you that your bug be fixed, do monitor the Changes file in any development releases since the time you submitted the bug, and encourage the maintainers with kind words (but never any flames!). Feel free to resend your bug report if the next released version of perl comes out and your bug is still present.How do I report / fix a bug in a module / script Use http://rt.cpan.org/ to open a bug ticket. Please contact the author of the module / script. The documentation of the module / script shouth a contact@perl.org where cpanid@perl.org Where Cpanid is the authors cpanid. MOST OF THE CHECKLIST IN Reporting Bugs in Perl Above Applies for MODULES AS Well. Make Y our bug report as good as possible if you really want the bug fixed. If the module is included with the Perl distribution you should also follow the Perl bug reporting tips. How can I report / fix the bug in the module / script it? Use http://rt.cpan.org/ to report BUG.
How do I go about maintaining a module when the author is unresponsive? Sometimes a module goes unmaintained for a while due to the author pursuing other interests, being busy, etc. and another person needs changes applied to that module and may become frustrated when their email goes unanswered. CPAN does not mediate or dictate a policy in this situation and rely on the respective authors to work out the details. If you treat other authors as you would like to be treated in the same situation the manner in which you go about dealing with such problems should be obvious.Be courteous. Be considerate. Make an earnest attempt to contact the author. Give it time. If you need changes made immediately, consider applying your patches to the current module, changing the version and requiring that version For Your Application. Eventually the author Will Turn Up and Apply Your Patches, Offer You Maintenance of the Module OR, IF The Author Doesn't Respond in a year, you may get maintenance by having interest. If you need changes in order for another module or application to work, consider making the needed changes and bundling the new version with your own distribution and noting the change well in the documentation. Do not upload the new version under the same namespace to CPAN until the matter has been resolved with the author or CPAN. Simply keep in mind that you are dealing with a person who invested time and care into something. A little respect and courtesy go a long way.
Is there a site for module bug reports / tests? Yes, through the diligence of Paul Schinder and a few others, we have CPAN Testers which is a collection of test results for modules on a number of different platforms. This information is also available when viewing module information on CPAN search. There is also http://rt.cpan.org/ where you might search for a module bug already reported and / or report a bug.Does CPAN provide download statistics for authors? No we do not . http://xxx.lanl.gov/help/faq/statfaq sums Up Our Thoughts on The Matter Quite Well.
How do I mirror cpan? Either an ftp or rsync client will do. Scantily Clad Virgins and Pale Moonlight Are Optional and Are Not Included in The Sales Price.
What Do I NEED TO MIRROR CPAN?
"Good" Internet Connectivity, EG BETTER THAN A 14.4 MODEM But Not So Much as an OC3. Around 1GB of Storage Space. Http://www.cpan.org/indices/du-k.gz tells you the current size of there OR RSYNC Client.
For ftp there is a perl script named mirror (Which Assumes a command line ftp client): http://sunsite.org.uk/packages/mirror/ the ftp address for the cpan master site is: ftp: //ftp.funet .fi / pub / languages / perl / cpan / and for ry horg: cpan.mirror.smartWorker.Org .: cpantheoryx5.uwinnipeg. Ca :: cpanftp.shellhung.org :: cpanftp.funet.fi :: cpanftp.gwdg.de :: ftp / languages / perl / cpan / ftp.leo.org :: cpancpan.piksi.itb.ac.id :: Cpanftp.iglu.rg.il::cpangusp.dyndns.org::panftp.kddlabs.co.jp::cpancpan.teleglobe.Net::cpanftp.sedl.org::cpanmirrors.progeny.com: CPANMIRRORRORS.KERNEL. org :: mirrors / CPANmirrors.phenominet.com :: CPANmirror.csit.fsu.edu :: CPANcsociety-ftp.ecn.purdue.edu :: CPAN Once you have the rsync client installed on your system and the disk space mapped out, You May Then Add An entry to your crontab [if Using UNIX, AT IF Using Windows NT] LIKE THE FOLLOWING EXAMPLE: 0 20 * * * / usr / local / bin / rsync -av --delete ftp .FUNET.FI: CPAN / Project / CPAN /> / DEV / NULL 2> & 1 AT 20:00 / Every: M, T, W, TH, F, S, SU "C: / Program Files / RSync / RSYNC -AV - Delete ftp.funet.fi::cpan / project / cpan /> / dev / null 2> & 1 "i Have Windows 2000 / NT / 98/95, How can I mirror cpan? by useing rsync for nt.
Which cpan site sale i mirror? The One That Gives The Best Bandwidth (Where Your Mirror Finishes Quickest) and which is mot up- to-date. MOST UP-to-Date IS, by definition, The cpan master site ftp.funet. Fi. Note That It lives in the GMT 2 Time Zone So Please trying hours: 0600 to 1400 gmt / utc. if you want to mirror from somewhere else, check the list at http://www.cpan .org / seats.html or at http://mirror.cpan.org/. Please organize the mirroring with the corresponding ftp maintainer (Their email address "from the file http://www.cpan.org/mirrored.by or http : //mirror.cpan.org/) so that you will not overload their site and that your mirror starts just after theirs has finished A few tips to keep in mind:. For your mirror site to be useful to your users you should mirror DAILY. You can Also provide a http interface in addition to an ftp interface to cpan if you wish to do so. consider also giving rsync access to your mirror. Many People Like Rsync BECAUSE IT ' Spré Bandwidth-Friendly. Remember to Tell Cpan@perl.org About All The Access Methods You Provide To your mirror: ftp, http, or rsync (or any other methods).