🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #151

Re: Perl question

#151
From: Tony Finch
Date: Tue, 31 Aug 1999 00:00
24 lines
1203 bytes
news <news@news.news> wrote:
>If this is not the right place for a perl question running on a demon
>server, could you tell me where I should post please.

demon.ip.www

>Why does the following work:
># Get seconds from epoch
>$date=time;
>
>And these don't? Both return null strings.
>
>$date=localtime;
>
>and
>$date=gmtime;
>
>Any ideas anyone?

change #!/bin/perl to #!/bin/perl5

Tony.
-- 
f.a.n.finch    dot@dotat.at    fanf@demon.net    e pluribus unix
Technical Details
Message-ID: <936092875.21244.0.nnrp-14.c30b3753@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37C5BF24.9AA57EAA@news.news>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c4be,5f335110ece66f21,start
X-Google-Attributes: gid10c4be,public
X-Google-Thread: fac57,2c0e2650222e8912
X-Google-Attributes: gidfac57,public
From: Tony Finch <fanf@demon.net>
Subject: Re: Perl question
Date: 1999/08/31
Message-ID: <936092875.21244.0.nnrp-14.c30b3753@news.demon.co.uk>
X-Deja-AN: 519241938
X-NNTP-Posting-Host: fanf.noc.demon.net:195.11.55.83
References: <37C5BF24.9AA57EAA@news.news>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 936092875 nnrp-14:21244 NO-IDENT fanf.noc.demon.net:195.11.55.83
Organization: (V) ScottishTelecom
Newsgroups: demon.tech.unix,demon.ip.www
Originator: fanf@chiark.greenend.org.uk