🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: algonet.amiga
Article #45

Re: perl fil I/O

#45
From: Erland Sommarskog
Date: Sun, 03 Mar 1996 00:00
12 lines
1088 bytes
Hans Malmberg (hansmbg@algonet.se) writes:
>D� m�ste jag testa om r�knarfilen
>"../log-files/counter_xx" finns, och jag har gjort s� h�r:

Det enklaste s�ttet att testa om en fil finns �r med -e:

    if (-e $count_file) {

-e �r sann om filen existerar. Man kan ocks� anv�nda -r (l�sbar)
eller -w (skrivbar) om det �r av vikt.
-- 
Erland Sommarskog, Stockholm, sommar@algonet.se
Technical Details
Message-ID: <4halcg$jfl@sophocles.algonet.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <1422.6630T1243T2563@algonet.se>

Show Full Headers
Complete Article Headers
X-Google-Language: SWEDISH,ASCII
X-Google-Thread: fad40,31d8b5f4ccecfc75
X-Google-Attributes: gidfad40,public
X-Google-Thread: f7e14,31d8b5f4ccecfc75
X-Google-Attributes: gidf7e14,public
X-Google-Thread: 10e356,31d8b5f4ccecfc75
X-Google-Attributes: gid10e356,public
X-Google-Thread: f7a1c,31d8b5f4ccecfc75
X-Google-Attributes: gidf7a1c,public
From: sommar@sophocles.algonet.se (Erland Sommarskog)
Subject: Re: perl fil I/O
Date: 1996/03/03
Message-ID: <4halcg$jfl@sophocles.algonet.se>
X-Deja-AN: 141866454
references: <1422.6630T1243T2563@algonet.se>
organization: BF Beckasinen 13 u.p.a.
newsgroups: algonet.amiga,algonet.test,algonet.unix,swnet.unix