rsiedl has asked for the wisdom of the Perl Monks concerning the following question:
And the contents of inc.conf...#!/usr/bin/perl use strict; use warnings; require "inc.conf"; our $var; print $var , "\n"; exit;
Cheers,#!/usr/bin/perl use strict; use warnings; my $var = "blah"; 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: global variables
by Fletch (Bishop) on May 31, 2004 at 14:09 UTC | |
|
Re: global variables
by davidj (Priest) on May 31, 2004 at 14:12 UTC | |
by rsiedl (Friar) on May 31, 2004 at 14:37 UTC | |
by Happy-the-monk (Canon) on May 31, 2004 at 14:48 UTC | |
by rsiedl (Friar) on May 31, 2004 at 14:54 UTC | |
by tinita (Parson) on May 31, 2004 at 14:58 UTC | |
by Happy-the-monk (Canon) on May 31, 2004 at 14:58 UTC |