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

Include file

Thread Next
gross, cedric
February 1, 2002 08:21
Include file
Message ID:
I have a set of program to do which is using always same var.
So I would like to defined a small file where I defined my var (like
$database="toto" $host="localhost" etc..) and then include it in my
other program, but
How to do that ?
I try "use" but it's seems that is for complete module.
"require" seems to be for version behavior
and include seems not be supported...
I browse doc but I found nothing..

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