|P is for Practical|
One Bizarre Perl Problemby jedikaiti (Hermit)
|on Oct 27, 2010 at 17:04 UTC||Need Help??|
jedikaiti has asked for the
wisdom of the Perl Monks concerning the following question:
Cancel red alert, I am an idiot. I am consoled, somewhat, by the fact that the nice IT guy who installed Perl (I don't have the permissions) and who was helping me figure what on earth could be the problem with my Perl install didn't catch this, either.
I had a batch file in my directory. Called perl.bat. Created when I was trying to remind myself how to do batch files. Then forgotten.
sorry for the not-terribly-descriptive subject line, but I have no idea how else to sum this one up.
posted this to CB earlier, but I think this might be a bit too big/wierd a question for that forum...
OK guys, I have a rather bizarre problem. 2 computers, both running WinXP Pro, both with Strawberry Perl installed - one has 5.10.1 (laptop), the other 5.12.1 (desktop).
I developed a lovely little program on the laptop, it works like a charm. Copy it over to the other machine to run, type in the command "perl handbook.pl" (handbook.pl code below) and the command window just displays the prompt and "perl cmdProcessor.pl" over and over and over until I hit the pause/break key. Hit ctrl-C, and it asks me if I want to terminate the batch job. Hit 'y', enter the command "perl -h" and it does the same thing - repeating the prompt and "perl cmdProcessor.pl" over & over.
Does anyone have any clue what might possibly be wrong?
Both the tlmProcessor and cmdProcessor routines have a simple print statement very early in the process along the lines of "I'm doing ___ now!". Neither of them ever prints.