Article View: be.comp.programming
Article #75492 perl problemen
From: R.G
Date: Fri, 30 Aug 2002 01:31
Date: Fri, 30 Aug 2002 01:31
36 lines
2314 bytes
2314 bytes
Hallo,
1) Waarom geeft de interpreter in Perl dit:
***************************************************
Unquoted string "file" may clash with future reserved word at
C:\webppliance\conf\domains\kmskdeinze\Inetpub\wwwroot\cgi-bin\guestbook2\gu
estbook2.pl line 30.
Unquoted string "file" may clash with future reserved word at
C:\webppliance\conf\domains\kmskdeinze\Inetpub\wwwroot\cgi-bin\guestbook2\gu
estbook2.pl line 31.
Unquoted string "file" may clash with future reserved word at
C:\webppliance\conf\domains\kmskdeinze\Inetpub\wwwroot\cgi-bin\guestbook2\gu
estbook2.pl line 32.
***************************************************
Dit is mijn code waar het om gaat:
open (file, ">>$openFile");
print file "blablabla";
close file;
Ik kan toch moeilijk quotes rond file zetten ?
2) Wat moest ik nu weeral doen bij de functie require om procedures op te
halen uit een ander bestand ?
require 'procedures.pl';
dit heb ik staan, maar dan zoekt hij zeker in de dir's van de perl
interpreter achter de procedure ?
Kan iemand me helpen ?
Alvast bedankt
Technical Details
Message-ID:
<AVzb9.94814$8o4.12952@afrodite.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!btnet-peer0!btnet-peer!btnet!newsfeed.london1.eu.level3.net!level3eu!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,297e3b09ed484aa5,start X-Google-Attributes: gidfcea4,public X-Google-Thread: 111b97,297e3b09ed484aa5,start X-Google-Attributes: gid111b97,public X-Google-ArrivalTime: 2002-08-29 18:36:15 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!btnet-peer0!btnet-peer!btnet!newsfeed.london1.eu.level3.net!level3eu!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail From: "R.G" <rg@nee.com> Newsgroups: be.comp.programming,nl.internet.www.server-side Subject: 2 perl problemen Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <AVzb9.94814$8o4.12952@afrodite.telenet-ops.be> Date: Fri, 30 Aug 2002 01:31:12 GMT NNTP-Posting-Host: 213.119.96.67 X-Complaints-To: abuse@telenet.be X-Trace: afrodite.telenet-ops.be 1030671072 213.119.96.67 (Fri, 30 Aug 2002 03:31:12 MET DST) NNTP-Posting-Date: Fri, 30 Aug 2002 03:31:12 MET DST Organization: Telenet Internet