I don’t know if Java really is, so I assume that what you mean by “static variable” is related to scoping? There are ways to control the scope in perl 'my' and 'our', but I think I'm right in saying that the hat packages / modules make the scope variable "private" in the file .pmin which they are declared (correct this and / or clarify further companions perlistas!).
Regarding how to “access” them, my copy of Perl Programming (2nd Edition) covers this in Chapter 2 under the “Ads with Area” section. But here is the informative (slightly edited) part of the first footnote from page 107:
, , . , - $Some::stuff, $stuff Some.
Exporter perlmonks node perl. perlmonks node - Scope Perl: - : -)
, (.. Java), ( ) "" Perl - Perl Cookbook - , .
,