Glad to hear you have found and fixed your bug.
For future reference it would be much kinder to everyone if you could refrain from prepending each line in your source with a number. I believe that there are user settings in PerlMonks at each user's discretion which can add these as a viewing aid for those users which prefer them but if you do it in the posted code there's no simple method to then switch them off. Much worse, anyone who tries to download your code to test it and help you debug it would first have to edit out all the line numbers. Help us to help you and just omit them next time. Thanks.
In reply to Re^2: Loading package error : script works in weird way
by hippo
in thread Loading package error : script works in weird way
by t-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |