use API;
use Database;
use Routines;
use Encode qw/encode decode/;
use CGI;
use CGI::Carp;
use File::Basename;
- how can i know where those module come from?
- what kind of doc sh开发者_如何学Goould i download to see implementation of those function inside these modules?
Thank you in advance, guys. lol
You can use perldoc -m
to see the package's content:
$ perldoc -m CGI
package CGI;
require 5.004;
use Carp 'croak';
...
Or the -l
switch to see where the package is:
$ perldoc -l CGI
/System/Library/Perl/5.10.0/CGI.pm
You can also find all the source at CPAN. Just looking at a single file in isolation generally isn't that fruitful, you'll want to look at all the files in the distribution as a coherent whole.
You'll probably want to familiarize yourself with the other things that perldoc
can do:
http://perldoc.perl.org/perldoc.html
精彩评论