It looks like your subroutine is named pdebug, not dbug. So perl isn't seeing that subroutine. If you change the name of the subroutine to dbug, then it looks like it could work.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Subroutine not seeing export from module
by roboticus
in thread Subroutine not seeing export from module
by perlguyjoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |