I get (perl 5.6.1)package Bar; use vars qw($COUNT); BEGIN { $COUNT = 0;} 1; --- script test.pl -- use Bar; print "count is ", $Bar::COUNT, "\n"; $Bar::COUNT++; print "count is ", $Bar::COUNT, "\n";
Did something similar NOT work for you?count is 0 count is 1
In reply to Re: Soap package problem
by stajich
in thread Soap package problem
by cuvavu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |