Newsgroups: fj.lang.perl
Path: galaxy.trc.rwcp.or.jp!news.trc!nf2.iij.ad.jp!nr0.iij.ad.jp!news.iij.ad.jp!rim.or.jp!tamaru-news!kuee-news!odins-suita!odins-toyonaka!ipcnews!tenjn02!tcn02!tr2244b!moriwaka
From: moriwaka@res.kutc.kansai-u.ac.jp (Kazuo Moriwaka )
Subject: Re: if cannot open file,how to do it
Message-ID: <69t8lt$ibf$1@tr2244b.res.kutc.kansai-u.ac.jp>
Lines: 18
Sender: @
Nntp-Posting-Host: tr2244b.res.kutc.kansai-u.ac.jp
Organization: Faculty of Informatics, Kansai University, Osaka, Japan.
X-Newsreader: mnews [version 1.20] 1996-12/08(Sun)
References: <01bd231d$c95d4a80$e5579bd2@marron>
Date: Sun, 18 Jan 1998 15:55:41 GMT
Xref: galaxy.trc.rwcp.or.jp fj.lang.perl:2703
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.perl&nb=2703&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B?9<c!w4X@>Bg3XAm9g>pJs$G$9(B

<01bd231d$c95d4a80$e5579bd2@marron>$B$N5-;v$K$*$$$F(B
marron@princess.club.or.jp$B$5$s$O=q$-$^$7$?!#(B

>> $B%U%!%$%k$r3+$/$H$-$N!"$*7h$^$j$NJ86g$G!"(B
>> open (KK,"log_file) || die "Can't open:$!";
>> $B$,M-$j$^$9$1$I!"(B
>> die$B$r(Bprint $B$G$"$i$o$7$F!"(Bexit$B$9$k$K$O$I$&$7$?$i$$$$$N$G$7$g$&!)!)(B

open (KK,"log_file") or print "Can't open:$!\n" and  exit;

$B$G$O!"<:Ni$7$^$9!#(B
----------------------------------------
 \ /      \ /  | /  /\ |\ || / |  ||\ |  Kazuo Moriwaka 
 =| $B!&(B  $B!&(B |=  |/\ |~~|| \||/\ |  || \|  Faculty of informatics, Kansai Univ.
 / \      / \  |  \|  ||  ||  \|__||  |  email:fa50434@edu.kutc.kansai-u.ac.jp
----------------------------------------
