> So seems the concensus. I will be trying to adapt a module type
> system for it.
Feel free to post for assistance.
We learn more that way, lol ;o]
__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
Thanks! I 'll give her a go that route.
I like the idea just need time to do it then polish it up.
Thanks
Dan
>
> > Well, any other ideas on how I can have a hundred scripts
> all use the
> > same settings and make it easy to change any of them at
> will without
> > having to go edit a hun
So seems the concensus. I will be trying to adapt a module type system for it.
Thanks
Dan
> Dan Muey wrote:
>
> >
> > To share configuration variables in one place for lots and lots of
> > scripts to use instead of having to put them in each script
> and then
> > on echanges and having to g
> Well, any other ideas on how I can have a hundred scripts all use the
> same settings and make it easy to change any of them at will without
> having to go edit a hundred files would be nice.
> ...
> To share configuration variables in one place for lots and lots of
> scripts to use instead of h
Dan Muey wrote:
>
> To share configuration variables in one place for lots and lots of scripts to use
>instead of having to put them in each script and then on echanges and having to go
>through a hundred scripts all over the place to change them.
>
> Someone else already helped me get it nailed
>
> Dan Muey wrote:
>
> > I guess my main question would boil down to ::
> >
> > How can I use variables that get declared in a lib file in a script
> > that uses -w and use strict; ?
> >
> > A more complex example of what I've tried and what I'm
> trying to get
> > is here ::
> >
> > On the
Dan Muey wrote:
> I guess my main question would boil down to ::
>
> How can I use variables that get declared in a lib file in a script that uses -w and
>use strict; ?
>
> A more complex example of what I've tried and what I'm trying to get is here ::
>
> On the script below, when use strict is
> > > > use vars '$dog';
>
> > Personally, because I like typing 2 letters instead of 7. :)
>
> Ok then if your Perl (>5.6.0) allows it, change the above to:
>
> our $dog;
>
> perldoc vars
> perldoc -f our
>
> Save 7 more characters... ;-)
lol -- sweet.
I'm still trying to get used to our().
On Mon, 17 Feb 2003 11:45:15 -0800 (PST), Paul <[EMAIL PROTECTED]> wrote:
> > > --- Dan Muey <[EMAIL PROTECTED]> wrote:
> > > use vars '$dog';
> Personally, because I like typing 2 letters instead of 7. :)
>
Ok then if your Perl (>5.6.0) allows
Right on thanks!
>
> > > --- Dan Muey <[EMAIL PROTECTED]> wrote:
> > > > #!/usr/bin/perl -w
> > > > use strict;
> > > > #my $dog = 'bart';
> > > > eval {
> > > > use lib '/home/dmuey';
> > > > require "lib.lib";
> > > > };
> > > > print "Content-type: text/html\n\n";
> > > > prin
> > --- Dan Muey <[EMAIL PROTECTED]> wrote:
> > > #!/usr/bin/perl -w
> > > use strict;
> > > #my $dog = 'bart';
> > > eval {
> > > use lib '/home/dmuey';
> > > require "lib.lib";
> > > };
> > > print "Content-type: text/html\n\n";
> > > print "Error: $@ :: $dog ::\n";
> > >
> > > :
>
> --- Dan Muey <[EMAIL PROTECTED]> wrote:
> > #!/usr/bin/perl -w
> > use strict;
> > #my $dog = 'bart';
> > eval {
> > use lib '/home/dmuey';
> > require "lib.lib";
> > };
> > print "Content-type: text/html\n\n";
> > print "Error: $@ :: $dog ::\n";
> >
> > :: lib.lib file is ::
--- Dan Muey <[EMAIL PROTECTED]> wrote:
> #!/usr/bin/perl -w
> use strict;
> #my $dog = 'bart';
> eval {
> use lib '/home/dmuey';
> require "lib.lib";
> };
> print "Content-type: text/html\n\n";
> print "Error: $@ :: $dog ::\n";
>
> :: lib.lib file is ::
>
> my $dog = 'joe';
> 1;
13 matches
Mail list logo