CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Question about "use strict"!

 



CuzDesign
Deleted

Nov 28, 2000, 12:50 PM

Post #1 of 2 (236 views)
Question about "use strict"! Can't Post

Hello,
This may have been answered before buit I cannot seem to find it anywhere.

The question I have is this.

I have a program and am using a config.pl file that has all the variables in it I need from the user.

Now I add the following line to the main program to make sure the file exsists:

require "config.pl";

I also want to add use strict but it seems that I still have to declare the variables that are in the config.pl file again in the main program file.

My question is, is there a way around this, or do I still have to declare the variables again in the main program?

Any help would be greatly appreciated.

Thanks in advance,
Ray


Cure
User

Dec 3, 2000, 9:59 AM

Post #2 of 2 (236 views)
Re: Question about "use strict"! [In reply to] Can't Post

perldoc vars


Cure

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives