in reply to (tye)Re: RPC
in thread RPC

Heya Tye. The sub I wrote was initially tested with die during the first coding session. Unfortunately, I'm the only coder here that knows Perl. Perl is also the only language I know (it's probably the easiest language since FORTRAN and VB). I was not expecting to run into this problem, so I had avoided large error handling subs. I guess now I must put them in to ensure these programs work properly. I guess I'll have to give up a little bit of the speed now. Oh well, I think the programs will work fine with heavy error handlers (I hope!!!). Thanks for pointing out the cwd possibility. I'll look into that later today. Thanks your your help guys. Any other pointers, style advise, or what-have-you will be much appreciated. Necos

Replies are listed 'Best First'.
(tye)Re2: RPC
by tye (Sage) on May 08, 2001 at 05:30 UTC

    or die "..." is not "large error handling" and does not make your code run any slower. I suppose you could argue that it will make your code take a few milliseconds longer to compile. If you eventually compile it enough times to make up for the time you've now spent trying to track down this problem, especially when you consider how much you get paid per hour vs. how much your computer costs per hour, then let us know. We'll all be very surprised. (:

            - tye (but my friends call me "Tye")
      Well, I seemed to have fixed the problem... Apparently, what converter said was right. The string literal 'USERS' was clobbering the open command. Go figure... In any case, I learned a valuable lesson: Write error handlers at all times!!! Also, if at all possible, make them good ones... ^_^. Necos