On 11/22/11 Tue Nov 22, 2011 2:04 PM, "Chris Stinemetz"
scribbled:
> I am working on a Perl script that is getting quite lengthy so I thought I
> would put the sub routines, hashes, and arrays in a seperate script from
> the main.
>
> The program will run when I turn use strict off in the main
I am working on a Perl script that is getting quite lengthy so I thought I
would put the sub routines, hashes, and arrays in a seperate script from
the main.
The program will run when I turn use strict off in the main script, but
when I turn it on the main script doesn't recognize the hash and
arr
I've checked cpan AppConfig. I may get back to it.
Thanks Randy
-Ursprüngliche Nachricht-
Von: Randy W. Sims [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. März 2004 12:36
An: B. Fongo
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: Problem using require()
On 03/15/04 06:19, B. Fongo
On 03/15/04 06:19, B. Fongo wrote:
The idea of creating a package is clear, but it doesn't solve the
problem at hand. What I want is a possibility for non programmers to
change the global variable to reflect to their server (e.g. path to
sendmail, email address, currency symbol etc.) environment wi
e: Problem using require()
On 3/14/2004 9:58 AM, B. Fongo wrote:
> I have several modules which needs global variables from a text file
> (global.txt).
> Within each module, I use require "global.txt" to get my variables.
> -
On 3/14/2004 9:58 AM, B. Fongo wrote:
I have several modules which needs global variables from a text file
(global.txt).
Within each module, I use require "global.txt" to get my variables.
global.txt
-
I have several modules which needs global variables from a text file
(global.txt).
Within each module, I use require "global.txt" to get my variables.
global.txt
$shop =
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 exam
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.