Hi !!! friend you can use ddd i.e visual debugger i think it might prove helpful.
regards vivek > [EMAIL PROTECTED] wrote: > > Is there a more detailed debugging option to use on perl besides -w? I > am > currently using #!/bin/perl -w but it does not catch the error I am > running > into. Something equivalent to the -x option shell scripts use, would > be > really useful. The script is used for printing to an IBM printer. It > determines the report type, size and then it prints to the printer. > The > script itself does not seem to contain any errors, because it works > fine if > I run it as user root, but the problem is when I run it as user lp, > and is > something I have no control of, since the third party software my > company > uses (vista plus,) requires lp to run it. When the script is run by > user > lp, it finishes right away, giving no error messages, but report is > not > printed, and if I do echo $?, it shows exit status 30. As a matter of > fact > the script seems to work fine only by user root, no other ID's, which > leads > me to believe it is a permissions issue, but where? I have nothing to > work > with. If I can look at what the script is doing step by step and > determine > at what point if any it gets stuck, then I may get somewhere. > > _______________________________________________ > Perl-Unix-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs -- =================================================================================== Peaceful Crazy Feelin' =================================================================================== Feel free to mail me at : [EMAIL PROTECTED] [EMAIL PROTECTED] =================================================================================== If God made men, Samuel Colt made then equal. =================================================================================== _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs