On Mon, 2009-08-10 at 17:14 -0400, Chas. Owens wrote:
> On Mon, Aug 10, 2009 at 16:56, Martin Spinassi wrote:
> snip
> > The problem with that, is that one variable is added/removed from the
> > global config, then it should be changed at the script.
> >
> > I don't know if this can do the trick, w
On Mon, Aug 10, 2009 at 16:56, Martin Spinassi wrote:
snip
> The problem with that, is that one variable is added/removed from the
> global config, then it should be changed at the script.
>
> I don't know if this can do the trick, what do you think?
snip
It sounds like you should switch to a conf
On Mon, 2009-08-10 at 16:13 -0400, Chas. Owens wrote:
> On Mon, Aug 10, 2009 at 16:07, Martin Spinassi wrote:
> snip
> > It's working I don't have any issues with that :), but I'd like to know
> > something...can I make it work with "use strict"?
> >
> > Using your example would say:
> > Global sym
> "MS" == Martin Spinassi writes:
MS> On Mon, 2009-08-10 at 15:37 -0400, Gorrebeeck, Robert wrote:
>> Martin
>>
>> What you want to do is use the require function
>>
>> require "directory/filename";
he can still call use. there is no difference from a scoping point of
view.
On Mon, Aug 10, 2009 at 16:07, Martin Spinassi wrote:
snip
> It's working I don't have any issues with that :), but I'd like to know
> something...can I make it work with "use strict"?
>
> Using your example would say:
> Global symbol "$home_directory" requires explicit package name at
> test.pl
>
On Mon, 2009-08-10 at 15:37 -0400, Gorrebeeck, Robert wrote:
> Martin
>
> What you want to do is use the require function
>
> require "directory/filename";
>
> Within your config file
>
> You would set up the variables like this in your config file
> #VARIABLES (home directory) - make sure you
Hi list!
I want to include some config and variables files into my perl script,
but couldn't find the way to do so. All I found is methods to include
some modules, "use", and so...
Is there something like the ". file" in bash to include it into the
script?
Cheers
Martin
--
To unsubscribe,