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
--
-
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
> -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
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
- 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
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
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
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