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 desire -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 1:28 PM To: M.L. PERL BEG Subject: General questions Hello, 1. I read on many Perl/CGI tutorial/articles that it is best to place and use CGI files in /cgi-bin/ directory than anywhere else, due to avoid many problems. Buy in our website, we have several subdomain and those are all use the same /cgi-bin/ directory, so now there are a lot of files populated there. So now what I have to do to reduce the management/maintanence problems. 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 well. So should I definately do not use "use strict" if the program want to handle I/O files? Thank you all. Greetings, R. Kumaran -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>