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

Using require()

Thread Next
Naveen Parmar
February 6, 2002 13:52
Using require()
Message ID:
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 '";
} 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:

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