package DB; use Data::Dumper; sub a { b() } sub b { c() } sub c { my @a = caller(2); print Dumper \@a; print Dumper \@DB::args; } a("test", [1,2,3]);
In reply to Re^4: Get first caller and its arguments
by OlegG
in thread Get first caller and its arguments
by OlegG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |