Sure, we can use caller to do that:
#!/usr/bin/env perl use strict; use warnings; BEGIN { unshift @INC, sub { warn "Loading $_[1] from " . (caller)[0] . "\n +"; 0; }; } use File::Copy;
🦛
In reply to Re^4: help with "symbol lookup error" message
by hippo
in thread help with "symbol lookup error" message
by Special_K
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |