Re: using require "file.txt"

2011-11-22 Thread Jim Gibson
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

using require "file.txt"

2011-11-22 Thread Chris Stinemetz
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

AW: AW: Problem using require()

2004-03-15 Thread B. Fongo
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

Re: AW: Problem using require()

2004-03-15 Thread Randy W. Sims
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

AW: Problem using require()

2004-03-15 Thread B. Fongo
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. > -

Re: Problem using require()

2004-03-14 Thread Randy W. Sims
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 -

Problem using require()

2004-03-14 Thread B. Fongo
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 =

RE: Using require()

2002-02-06 Thread Scott Lutz
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

Using require()

2002-02-06 Thread Naveen Parmar
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.