On Thu, 31 Mar 2005 11:28:04 +0530, [EMAIL PROTECTED] wrote:
>
> Use strict is used to enforce declaration of variables before we use
> them.
> Here IN_FILE1 is file pointer variable which u are using and which is
> not declared before ,
> That is the reason it is working fine when u have removed
Hi Kumaran,
Use strict is used to enforce declaration of variables before we use
them.
Here IN_FILE1 is file pointer variable which u are using and which is
not declared before ,
That is the reason it is working fine when u have removed the use strict
construct.
Thanks
Arjun
Deserve before you
On Wed, 30 Mar 2005 09:57:38 +0200, GR Kumaran wrote:
>
> 2. I used "use strict", and I get error for the statement
> open(IN_FILE1, ">>test_records.txt");
>
> Here the error is
> Bareword "IN_FILE1" not allowed while "strict subs" in use
>
> But if I remove "use strict", the program works