N
nazrat
hi,
i have the following setting
*f1 = \&foo;
sub foo {
print 'i am ', (caller(0))[3] , "\n";
}
f1(); # this prints main::foo
is it possible for 'foo' to see its alias being called? (ie. f1() =>
gives main::f1) thanks.
i have the following setting
*f1 = \&foo;
sub foo {
print 'i am ', (caller(0))[3] , "\n";
}
f1(); # this prints main::foo
is it possible for 'foo' to see its alias being called? (ie. f1() =>
gives main::f1) thanks.