vaevictus has asked for the wisdom of the Perl Monks concerning the following question:
and Mold.pm loads a package eventually with:use strict; use Curses; use Mold; use vars qw ($mold); open (FILE, ">log.log") or die $!; open STDERR, ">&FILE" or die "Couldn't dup STDERR: $!"; $mold=Mold->spawn; $mold->config; $mold->play; $mold->fungicide; close FILE or die $!;
which says uninitialized variable.package Standard; use strict; sub spawn { print $main::mold; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: globalization sorrows
by demerphq (Chancellor) on Jul 06, 2003 at 19:15 UTC | |
|
Re: globalization sorrows
by vaevictus (Pilgrim) on Jul 06, 2003 at 18:42 UTC | |
by demerphq (Chancellor) on Jul 06, 2003 at 19:02 UTC | |
|
Re: globalization sorrows
by demerphq (Chancellor) on Jul 06, 2003 at 18:35 UTC | |
|
Re: globalization sorrows
by vaevictus (Pilgrim) on Jul 06, 2003 at 18:32 UTC | |
|
Re: globalization sorrows
by bobn (Chaplain) on Jul 06, 2003 at 20:04 UTC | |
|
Re: globalization sorrows
by vaevictus (Pilgrim) on Jul 06, 2003 at 18:48 UTC |