in reply to print package's symble table
+11:32% perl -de0 Loading DB routines from perl5db.pl version 1.32 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(-e:1): 0 DB<1> $Foo::bar = 1 DB<2> *Foo::fun = sub { 42 } DB<3> p $Foo::bar 1 DB<4> p Foo::fun() 42 DB<5> x \ %Foo:: 0 HASH(0x2757b98) 'bar' => *Foo::bar 'fun' => *Foo::fun DB<6> $p = 'Foo' DB<7> x \ %{"${p}::"} 0 HASH(0x2757b98) 'bar' => *Foo::bar 'fun' => *Foo::fun DB<8> q +11:33%
|
|---|