my $o = Foo->new(0); ${$o}++; # dereference $o, then increment the value of the scalar that the scalar reference in $o points to. # Because the dereferencing sigil binds more closely than the postincrement operator, you can also do this: $$o++; # dereference $o, then increment the value of the scalar that the scalar reference in $o points to.