Gossamer Forum
Quote Reply
Modules
Hi

I have installed links on unix on numereous occcassions with no problems and a few times on NT with little problems but this one is getting me.

I get a date error when trying to add a link.

The host states

As our system is NT-based, there is no option for date.You may instead use localtime.

Sample code:
use POSIX qw(strftime);
$now_string = strftime "%a %b %e %H:%M:%S %Y", localtime;

Do I place this in links.cfg somewhere in the date sub routine if so exactly where.

I loaded a db with some links already in it and when I try and build I get this error.

Can't locate vars.pm in @INC (@INC contains:

from line 36 nph-build.pl

The host lists modules that are installed however this does not appear - this does

libnet
libnet is a collection of Perl modules which provides a simple and consistent programming interface (API) to the client side of various protocols used in the internet community.

and

libwww-perl
Library for WWW access in Perl

I included these as I am not sure what they mean.

Any help would be most greatly appreciated

Thanks

I have searched the boards and found reference to difficulties with other window users with the vars.pm, I changed the line from use to require but no joy. I will ask my host will he instal it but I would still require some help with the date problem for adding links

Thanks

DavyC