David wrote: > > Paul wrote: > > > > Not so -- ALL package variables in Perl *are* global, but likewise all > > global variables in Perl are package vars. Even $_ is technically > > $main::_ so that > > > > $_ = 'foo'; > > package bob; > > print $main::_."\n"; > > > > prints "foo" and the newline. > > you are inventing the phrase "package variable" but i wont' argue with.
$ grep 'package variable' /usr/lib/perl5/5.6.0/pod/*.pod | wc -l 34 It looks like someone else invented it. :-) John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]