Article View: pl.comp.lang.perl
Article #52457Wczytywanie pliku
From: gkrasinski
Date: Fri, 26 Oct 2012 08:24
Date: Fri, 26 Oct 2012 08:24
12 lines
1486 bytes
1486 bytes
Witam Systuacja dzieje sie pod WinXP Chcę otworzyć plik w następujący sposób open(logi, "<$ARGV[0]"); W cmd piszę: plik.pl nazwapliku.txt Niestety nic sie nie dzieje, plik nie jest czytany Jeśli w podam open(logi, "<nazwapliku.txt"); To jest ok. Co robię źle? Pozdrawiam
Technical Details
Message-ID:
<076abe71-f671-4a19-ab69-a27be9f4e68e@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!news2.arglkargh.de!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.216.88.MISMATCH!x14no8724031qar.0!news-out.google.com!r17ni69121101qap.0!nntp.google.com!x14no8724028qar.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Received: by 10.224.193.72 with SMTP id dt8mr11250988qab.7.1351239895354; Fri, 26 Oct 2012 01:24:55 -0700 (PDT) Received: by 10.52.175.5 with SMTP id bw5mr4115149vdc.16.1351239895203; Fri, 26 Oct 2012 01:24:55 -0700 (PDT) Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!news2.arglkargh.de!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.216.88.MISMATCH!x14no8724031qar.0!news-out.google.com!r17ni69121101qap.0!nntp.google.com!x14no8724028qar.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: pl.comp.lang.perl Date: Fri, 26 Oct 2012 01:24:55 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=212.160.172.70; posting-account=GAX2HgoAAACQOKx1s8yJKfaQWb7b1g8T NNTP-Posting-Host: 212.160.172.70 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <076abe71-f671-4a19-ab69-a27be9f4e68e@googlegroups.com> Subject: Wczytywanie pliku From: gkrasinski@gmail.com Injection-Date: Fri, 26 Oct 2012 08:24:55 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit