Net::Silk is a Perl XS extension to the SiLK library.

Source Code

The Net::Silk source code is available from these locations:

Net::Silk v2.08, 2019-04-05


CPAN — Find the Net::Silk module on a CPAN mirror.

Installing Net::Silk

First, make sure you have the libsilk library installed. Only the analysis tools (as opposed to the packing tools) are necessary.

Net::Silk also depends on the following CPAN modules:

Next, install Net::Silk like any other perl module; this is an XS extension so a C compiler will be necessary. The easiest way, if you have admin privileges on the target machine, is to use the cpan interactive installation (this will automatically download the Net::Silk distribution from CPAN):

$ sudo cpan
cpan1> install Net::Silk
cpan2> quit

Otherwise, in order to manually install, download the .tar.gz distribution file from one of the sources above and unpack it. From within the resulting directory, follow the standard perl module build procedure:

$ perl Makefile.PL
$ make
$ make test
$ sudo make install

Using Net::Silk

The API for Net::Silk closely follows that provided by libsilk, with the addition of some Perl flourishes. Documentation for the various modules can be viewed here:

Alternatively, if you followed the installation procedure above, the documentation should be available on your system via one of the following commands:

man Net::Silk
perldoc Net::Silk