in reply to Re: Re: using strict and a config file
in thread using strict and a config file
Declare your arrays with our in your program:
Then require your config file:our @fields; out @field_names;
That should work.require 'config_mailto.txt';
Have a look at perldoc -f our and perldoc -f my for more info.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 4: using strict and a config file
by tilly (Archbishop) on Nov 12, 2001 at 14:13 UTC | |
by busunsl (Vicar) on Nov 12, 2001 at 14:18 UTC | |
by tilly (Archbishop) on Nov 12, 2001 at 14:57 UTC |