Hello, I copied DialogBox.pm and Wm.pm to my local directory and modified a little bit in dialog->"add" , wm->"popup" subroutines. And I used the line "perl -Mlib=localdirctorypath myperl.pl" to run myperl script. It didn't seem to use the local subroutines. In myperl.pl I have line "Use Tk::Dialogbox".
Can anyone tell me what I should do to make it work?
Thanks a lot!
In reply to How to override the standard module by joybee2015
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |