Re: writting in a file

2001-11-21 Thread Michael Fowler
On Tue, Nov 20, 2001 at 02:13:07PM -, Crowder, Rod wrote: > > print (TEMP $_); > > Should be print TEMP $_; 'print (TEMP $_)' and 'print TEMP $_' are equivalent. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -

Re: writting in a file

2001-11-21 Thread John W. Krahn
Djoko Priyono wrote: > > Franck, maybe you can try below : > > #!/usr/bin/perl -w > > open(FIC,"/home/collineau/Perl/Programmes/01_informatique/sauve/c0111_05.htm") > || die "Impossible d'ouvrir $!\n"; > @template = ; > close FIC; > open (TEMP,">/home/collineau/Perl/Programmes/01_informatiqu

RE: writting in a file

2001-11-21 Thread Crowder, Rod
> -Original Message- > From: Franck Collineau [mailto:[EMAIL PROTECTED]] > Sent: 20 November 2001 13:57 > To: [EMAIL PROTECTED] > Subject: writting in a file > > > Hi! > > I have the follwing code: > > #!/usr/bin/perl -w > open(FIC,"/home/collineau/Perl/Programmes/01_informatique/sau

Re: writting in a file

2001-11-21 Thread Djoko Priyono
Franck, maybe you can try below : #!/usr/bin/perl -w open(FIC,"/home/collineau/Perl/Programmes/01_informatique/sauve/c0111_05.htm") || die "Impossible d'ouvrir $!\n"; @template = ; close FIC; open (TEMP,">/home/collineau/Perl/Programmes/01_informatique/sauve/temp.htm") || die "Impossible d

Re: writting in a file

2001-11-20 Thread Leon
- Original Message - From: "Thomas S. Dixon" <[EMAIL PROTECTED]> To: "Franck Collineau" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 10:30 PM Subject: Re: writting in a file > The filehandle should be o

Re: writting in a file

2001-11-20 Thread Thomas S. Dixon
The filehandle should be outside the parentheses, like print TEMP $_; Also, you didn't close your files close FIC; close TEMP; Franck Collineau wrote: > Hi! > > I have the follwing code: > > #!/usr/bin/perl -w > open(FIC,"/home/collineau/Perl/Programmes/01_informatique

RE: writting in a file

2001-11-20 Thread COLLINEAU Franck FTRD/DMI/TAM
I'm sorry, I've found Thank you -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : mardi 20 novembre 2001 15:18 À : COLLINEAU Franck FTRD/DMI Cc : [EMAIL PROTECTED] Objet : Re: writting in a file Should be print TEMP $_; On Tue, Nov 20, 200

Re: writting in a file

2001-11-20 Thread register
Should be print TEMP $_; On Tue, Nov 20, 2001 at 02:57:25PM +0100, Franck Collineau shaped the electrons to read: > Hi! > > I have the follwing code: > > #!/usr/bin/perl -w > open(FIC,"/home/collineau/Perl/Programmes/01_informatique/sauve/c0111_05.htm") > || die "Impossible d'ouvrir $!\n"; > o