if (a = true) { require 'naveen.pl"; >>> note that the above line has mismatched quotes } else {
Scott Lutz Pacific Online Support Phone: 604.638.6010 Fax: 604.638.6020 Toll Free: 1.877.503.9870 http://www.paconline.net -----Original Message----- From: Naveen Parmar [mailto:[EMAIL PROTECTED]] Sent: February 6, 2002 1:52 PM To: [EMAIL PROTECTED] Subject: Using require() Does require() work only twice? I've tried multiple loops only to get this to work a third time. After every time, however, it automatically exits. Here's an example: if (a = true) { require 'naveen.pl"; } else { print "You are not Naveen.\n"; exit; As long as a = true, it should call 'naveen.pl', correct? Any ideas? TIA, - NP _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]