in reply to i want to go through the code of Net::Ftp module in perl

If you want to find it in the directory structure, look for a file named "FTP.pm". On my Cygwin box:
$ locate Net/FTP.pm /lib/perl5/5.8/Net/FTP.pm /usr/lib/perl5/5.8/Net/FTP.pm

Replies are listed 'Best First'.
Re^2: i want to go through the code of Net::Ftp module in perl
by ysth (Canon) on Oct 11, 2006 at 08:11 UTC
    Note that /usr/lib is usually mounted to the same dir as /lib under cygwin, so there aren't actually two copies.
Re^2: i want to go through the code of Net::Ftp module in perl
by grinder (Bishop) on Oct 11, 2006 at 16:50 UTC

    In the general case, this is a bad idea. After a box has been running for a while and modules are upgraded, Perl is upgraded, you'll wind up with many copies of the file. Do this, and you risk the chance of looking at one file, but Perl looks at another.

    Checking on one of my older hosts, running locate Net/FTP.pm returns 13 files. Ask perl to tell you which module is used, as per the other replies in this thread.

    • another intruder with the mooring in the heart of the Perl