🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #989

Re: Jak otworzyc nowy plik.

#989
From: Mariusz Krukowski
Date: Thu, 12 Feb 1998 10:15
7 lines
752 bytes
Pawel Zolnierczyk wrote:

>  Jak otworzyc nie istniejacy jeszcze plik do zapisu.

open DESKRYPTOR, "> nazwa.pliku";
lub lepiej:
open DESKRYPTOR, "> nazwa.pliku" || die "Can't open file nazwa.pliku\n";
Technical Details
Message-ID: <34E2CBDB.E55611BA@it.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!not-for-mail
References: <6bu7pl$8ov$1@fox.ds14.agh.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!not-for-mail
From: Mariusz Krukowski <kruk@it.pl>
Newsgroups: pl.comp.lang.perl
Subject: Re: Jak otworzyc nowy plik.
Date: Thu, 12 Feb 1998 11:15:55 +0100
Organization: ICM's news server
Lines: 10
Message-ID: <34E2CBDB.E55611BA@it.pl>
References: <6bu7pl$8ov$1@fox.ds14.agh.edu.pl>
NNTP-Posting-Host: pound.it.com.pl
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.33 i586)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit