develooper Front page | perl.beginners | Postings from February 2002

RE: Using require()

Thread Previous
Scott Lutz
February 6, 2002 15:56
RE: Using require()
Message ID:
	if (a = true) {
	require '";
>>> 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

-----Original Message-----
From: Naveen Parmar []
Sent: February 6, 2002 1:52 PM
Subject: Using require()

Does require() work only twice? I've tried multiple loops only to get
to work a third time. After every time, however, it automatically exits.

Here's an example:

if (a = true) {
require '";
} else {
print "You are not Naveen.\n";

As long as a = true, it should call '', correct? Any ideas?

- NP

Chat with friends online, try MSN Messenger:

To unsubscribe, e-mail:
For additional commands, e-mail:

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About