$ perl -I. -MData::Dumper -MFoo -e'print Dumper (Foo->data)' Variable "%data" is not available at (eval 1) line 1. $VAR1 = {};