in reply to (jeffa) Re: Whether to use local()
in thread Whether to use local()
Does this snippet explain our for you jeffa ?
# comment use strict in and out # use strict; package Foo; our $global = 'global '; $not_so_global = 'not so global'; package Bar; print "Full package name: ", $Foo::global, $Foo::not_so_global, "\n"; print "No package name: ", $global, $not_so_global, "\n";
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) 3Re: Whether to use local()
by jeffa (Bishop) on Mar 15, 2002 at 23:11 UTC |